2015-06-16 19:10:57 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, zlib, bzip2, libmcrypt, libmhash }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libgringotts-${version}";
|
|
|
|
version = "1.1.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://libgringotts.sourceforge.net/current/${name}.tar.bz2";
|
|
|
|
sha256 = "1bzfnpf2gwc2bisbrw06s63g9z9v4mh1n9ksqr6pbgj2prz7bvlk";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ zlib bzip2 libmcrypt libmhash ];
|
2015-06-16 19:10:57 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A small library to encapsulate data in an encrypted structure";
|
|
|
|
homepage = http://libgringotts.sourceforge.net/;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
};
|
|
|
|
}
|