1{ stdenv, fetchurl, pkgconfig, zlib, bzip2, libmcrypt, libmhash }:
2
3stdenv.mkDerivation rec {
4 name = "libgringotts-${version}";
5 version = "1.2.1";
6
7 src = fetchurl {
8 url = "https://sourceforge.net/projects/gringotts.berlios/files/${name}.tar.bz2";
9 sha256 = "1ldz1lyl1aml5ci1mpnys8dg6n7khpcs4zpycak3spcpgdsnypm7";
10 };
11
12 nativeBuildInputs = [ pkgconfig ];
13 buildInputs = [ zlib bzip2 libmcrypt libmhash ];
14
15 meta = with stdenv.lib; {
16 description = "A small library to encapsulate data in an encrypted structure";
17 homepage = http://libgringotts.sourceforge.net/;
18 license = licenses.gpl2Plus;
19 platforms = platforms.linux;
20 maintainers = with maintainers; [ pSub ];
21 };
22}