2016-01-18 00:04:40 +01:00
|
|
|
{ stdenv, fetchurl, unzip, autoreconfHook, pkgconfig, libsodium, python }:
|
|
|
|
|
2014-12-13 01:20:04 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libmacaroons-${version}";
|
2015-11-03 15:19:10 +01:00
|
|
|
version = "0.3.0";
|
2014-12-13 01:20:04 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-11-03 15:19:10 +01:00
|
|
|
url = "https://github.com/rescrv/libmacaroons/archive/releases/${version}.zip";
|
|
|
|
sha256 = "18c44424jri0p5la6jgrnlz5p937hk7ws2mldhzjwisqyf5qld43";
|
2014-12-13 01:20:04 +01:00
|
|
|
};
|
2016-01-18 00:04:40 +01:00
|
|
|
|
|
|
|
buildInputs = [ unzip autoreconfHook python libsodium pkgconfig ];
|
|
|
|
|
2014-12-13 01:20:04 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|