nixpkgs/pkgs/development/libraries/afflib/default.nix
2016-06-03 17:17:08 +03:00

37 lines
953 B
Nix

{ stdenv, fetchgit, zlib, curl, expat, fuse, openssl
, autoconf, automake, libtool, python
}:
stdenv.mkDerivation rec {
version = "3.7.6";
name = "afflib-${version}";
src = fetchgit {
url = "https://github.com/sshock/AFFLIBv3/";
rev = "refs/tags/v${version}";
sha256 = "08www22njllqz1j3jkmgn1p36sifxrjd6qlsa7ch4kqy4jaaka1k";
name = "afflib-${version}-checkout";
};
buildInputs = [ zlib curl expat fuse openssl
libtool autoconf automake python
];
preConfigure = ''
libtoolize -f
autoheader -f
aclocal
automake --add-missing -c
autoconf -f
'';
meta = {
homepage = http://afflib.sourceforge.net/;
description = "Advanced forensic format library";
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.bsdOriginal;
maintainers = [ stdenv.lib.maintainers.raskin ];
inherit version;
downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
};
}