nixpkgs/pkgs/development/libraries/afflib/default.nix

38 lines
953 B
Nix
Raw Normal View History

2014-11-03 13:04:28 +00:00
{ stdenv, fetchgit, zlib, curl, expat, fuse, openssl
, autoconf, automake, libtool, python
}:
stdenv.mkDerivation rec {
2014-12-20 21:29:22 +00:00
version = "3.7.6";
2014-07-01 08:27:13 +00:00
name = "afflib-${version}";
2014-11-03 13:04:28 +00:00
src = fetchgit {
url = "https://github.com/sshock/AFFLIBv3/";
rev = "refs/tags/v${version}";
2014-12-20 21:29:22 +00:00
sha256 = "11wpjbyja6cn0828sw3951s7dbly11abijk41my3cpy9wnvmiggh";
2014-11-03 13:04:28 +00:00
name = "afflib-${version}-checkout";
};
2014-11-03 13:04:28 +00:00
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 ];
2014-07-01 08:27:13 +00:00
inherit version;
2014-12-20 21:29:22 +00:00
downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
};
}