blob: 719b18db8681df5e967f206f463ac04e61ba4c22 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ stdenv, fetchurl, unzip, autoconf, automake, libtool,
pkgconfig, libsodium, python }:
stdenv.mkDerivation rec {
name = "libmacaroons-${version}";
version = "0.3.0";
src = fetchurl {
url = "https://github.com/rescrv/libmacaroons/archive/releases/${version}.zip";
sha256 = "18c44424jri0p5la6jgrnlz5p937hk7ws2mldhzjwisqyf5qld43";
};
buildInputs = [ unzip autoconf automake libtool python libsodium pkgconfig ];
preConfigure = "autoreconf -i";
meta = with stdenv.lib; {
description = ''Macaroons are flexible authorization credentials that
support decentralized delegation, attenuation, and verification.'';
homepage = https://github.com/rescrv/libmacaroons;
license = licenses.bsd3;
};
}
|