1{ stdenv, fetchgit, zlib, curl, expat, fuse, openssl
2, autoconf, automake, libtool, python
3}:
4
5stdenv.mkDerivation rec {
6 version = "3.7.6";
7 name = "afflib-${version}";
8
9 src = fetchgit {
10 url = "https://github.com/sshock/AFFLIBv3/";
11 rev = "refs/tags/v${version}";
12 sha256 = "11wpjbyja6cn0828sw3951s7dbly11abijk41my3cpy9wnvmiggh";
13 name = "afflib-${version}-checkout";
14 };
15
16 buildInputs = [ zlib curl expat fuse openssl
17 libtool autoconf automake python
18 ];
19
20 preConfigure = ''
21 libtoolize -f
22 autoheader -f
23 aclocal
24 automake --add-missing -c
25 autoconf -f
26 '';
27
28 meta = {
29 homepage = http://afflib.sourceforge.net/;
30 description = "Advanced forensic format library";
31 platforms = stdenv.lib.platforms.linux;
32 license = stdenv.lib.licenses.bsdOriginal;
33 maintainers = [ stdenv.lib.maintainers.raskin ];
34 inherit version;
35 downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
36 };
37}