From 4e185d48d118d3678e5eff507f085acf1930bb98 Mon Sep 17 00:00:00 2001 From: darmac Date: Tue, 9 Mar 2021 16:32:35 +0800 Subject: libmacaroons: new package at v0.3.0 (#22142) --- .../repos/builtin/packages/libmacaroons/package.py | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 var/spack/repos/builtin/packages/libmacaroons/package.py diff --git a/var/spack/repos/builtin/packages/libmacaroons/package.py b/var/spack/repos/builtin/packages/libmacaroons/package.py new file mode 100644 index 0000000000..c024b72b94 --- /dev/null +++ b/var/spack/repos/builtin/packages/libmacaroons/package.py @@ -0,0 +1,26 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Libmacaroons(AutotoolsPackage): + """"This library provides an implementation of macaroons[1], which + are flexible authorization tokens that work great in distributed + systems.""" + + homepage = "https://github.com/rescrv/libmacaroons/" + url = "https://github.com/rescrv/libmacaroons/archive/releases/0.3.0.tar.gz" + + version('0.3.0', sha256='e1db403c01b0407a276a84b2aaf54515faebe1a5c1a31ec10857a1917161d109') + version('0.2.0', sha256='fa2146d89a4e844703896ece778f0c42b2b0ee3d09dea350ff34fd6873e72018') + version('0.1.0', sha256='0aa413d8a793f004874695466f93eed9c8e721524765704fe410694583928007') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + + depends_on('libsodium') -- cgit v1.2.3-60-g2f50