summary refs log tree commit diff
path: root/pkgs/development/libraries/afflib/default.nix
blob: c29512b86a04caf9250eac68bb68c4f657474eab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{ stdenv, fetchgit, zlib, curl, expat, fuse, openssl
, autoconf, automake, libtool, python
}:

stdenv.mkDerivation rec {
  version = "3.7.6";
  name = "afflib-${version}";

  src = fetchgit {
    url = "https://github.com/sshock/AFFLIBv3/";
    rev = "refs/tags/v${version}";
    sha256 = "11wpjbyja6cn0828sw3951s7dbly11abijk41my3cpy9wnvmiggh";
    name = "afflib-${version}-checkout";
  };

  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 ];
    inherit version;
    downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
  };
}