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

38 lines
953 B
Nix
Raw Normal View History

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