2015-06-16 19:10:57 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, zlib, bzip2, libmcrypt, libmhash }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libgringotts-${version}";
|
2018-03-29 23:01:16 +01:00
|
|
|
version = "1.2.1";
|
2015-06-16 19:10:57 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-29 23:01:16 +01:00
|
|
|
url = "https://sourceforge.net/projects/gringotts.berlios/files/${name}.tar.bz2";
|
|
|
|
sha256 = "1ldz1lyl1aml5ci1mpnys8dg6n7khpcs4zpycak3spcpgdsnypm7";
|
2015-06-16 19:10:57 +01:00
|
|
|
};
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|