2014-11-03 14:04:28 +01:00
|
|
|
{ stdenv, fetchgit, zlib, curl, expat, fuse, openssl
|
|
|
|
, autoconf, automake, libtool, python
|
|
|
|
}:
|
2011-08-02 21:46:28 +02:00
|
|
|
|
2014-05-01 10:57:52 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2014-11-03 14:04:28 +01:00
|
|
|
version = "3.7.5";
|
2014-07-01 10:27:13 +02:00
|
|
|
name = "afflib-${version}";
|
2014-05-01 10:57:52 +02:00
|
|
|
|
2014-11-03 14:04:28 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/sshock/AFFLIBv3/";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
sha256 = "06dr3y6bd7vfjf0p9v85yp1xzg43x515zsa9587jcx7yy5h5ams5";
|
|
|
|
name = "afflib-${version}-checkout";
|
2011-08-02 21:46:28 +02:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
'';
|
2011-08-02 21:46:28 +02:00
|
|
|
|
|
|
|
meta = {
|
2014-05-01 10:57:52 +02:00
|
|
|
homepage = http://afflib.sourceforge.net/;
|
2011-08-02 21:46:28 +02:00
|
|
|
description = "Advanced forensic format library";
|
2014-05-01 10:57:52 +02:00
|
|
|
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;
|
|
|
|
downloadPage = "http://digitalcorpora.org/downloads/afflib/";
|
|
|
|
updateWalker = true;
|
2011-08-02 21:46:28 +02:00
|
|
|
};
|
2014-05-01 10:57:52 +02:00
|
|
|
}
|