2014-11-03 13:04:28 +00:00
|
|
|
{ stdenv, fetchgit, zlib, curl, expat, fuse, openssl
|
|
|
|
, autoconf, automake, libtool, python
|
|
|
|
}:
|
2011-08-02 20:46:28 +01:00
|
|
|
|
2014-05-01 09:57:52 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-12-20 21:29:22 +00:00
|
|
|
version = "3.7.6";
|
2014-07-01 09:27:13 +01:00
|
|
|
name = "afflib-${version}";
|
2014-05-01 09:57:52 +01:00
|
|
|
|
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";
|
2011-08-02 20:46:28 +01:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
'';
|
2011-08-02 20:46:28 +01:00
|
|
|
|
|
|
|
meta = {
|
2014-05-01 09:57:52 +01:00
|
|
|
homepage = http://afflib.sourceforge.net/;
|
2011-08-02 20:46:28 +01:00
|
|
|
description = "Advanced forensic format library";
|
2014-05-01 09:57:52 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = stdenv.lib.licenses.bsdOriginal;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
2014-07-01 09:27:13 +01:00
|
|
|
inherit version;
|
2014-12-20 21:29:22 +00:00
|
|
|
downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
|
2011-08-02 20:46:28 +01:00
|
|
|
};
|
2014-05-01 09:57:52 +01:00
|
|
|
}
|