summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2021-03-09 16:32:35 +0800
committerGitHub <noreply@github.com>2021-03-09 09:32:35 +0100
commit4e185d48d118d3678e5eff507f085acf1930bb98 (patch)
treec2b4d33f32d10ff00999408e288adaf28505e9eb /var
parentd6fbf8ad57c874f67d86df6b4415c972a6b32240 (diff)
downloadspack-4e185d48d118d3678e5eff507f085acf1930bb98.tar.gz
spack-4e185d48d118d3678e5eff507f085acf1930bb98.tar.bz2
spack-4e185d48d118d3678e5eff507f085acf1930bb98.tar.xz
spack-4e185d48d118d3678e5eff507f085acf1930bb98.zip
libmacaroons: new package at v0.3.0 (#22142)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libmacaroons/package.py26
1 files changed, 26 insertions, 0 deletions
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')