1{ lib, stdenv, fetchurl, pkg-config, zlib, bzip2, libmcrypt, libmhash }:
2
3stdenv.mkDerivation rec {
4 pname = "libgringotts";
5 version = "1.2.1";
6
7 src = fetchurl {
8 url = "https://sourceforge.net/projects/gringotts.berlios/files/${pname}-${version}.tar.bz2";
9 sha256 = "1ldz1lyl1aml5ci1mpnys8dg6n7khpcs4zpycak3spcpgdsnypm7";
10 };
11
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ zlib bzip2 libmcrypt libmhash ];
14
15 meta = with 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}