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

21 lines
758 B
Nix
Raw Normal View History

2014-12-13 01:20:04 +01:00
{ stdenv, fetchurl, unzip, autoconf, automake, libtool,
2015-05-10 00:20:02 +02:00
pkgconfig, libsodium, python }:
2014-12-13 01:20:04 +01:00
stdenv.mkDerivation rec {
name = "libmacaroons-${version}";
version = "HEAD";
src = fetchurl {
url = "https://github.com/rescrv/libmacaroons/archive/6febf3ce6c4c77a46d24b40ed29b03ffbfb175a7.zip";
sha256 = "0b4qgim87398chvc3qhxfqv2l1cyl65rhyknln8lk0gq9y00p1ik";
};
2015-05-10 00:20:02 +02:00
buildInputs = [ unzip autoconf automake libtool python libsodium pkgconfig ];
2014-12-13 01:20:04 +01:00
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;
};
}