nixpkgs/pkgs/servers/nosql/hyperdex/libmacaroons.nix

21 lines
677 B
Nix
Raw Normal View History

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