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