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