summary refs log tree commit diff
path: root/pkgs/development/libraries/afflib/default.nix
blob: d29349abe0cf7e7353db2dc6857d67a8eb16f1b2 (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
38
{ stdenv, fetchgit, zlib, curl, expat, fuse, openssl
, autoconf, automake, libtool, python
}:

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

  src = fetchgit {
    url = "https://github.com/sshock/AFFLIBv3/";
    rev = "refs/tags/v${version}";
    sha256 = "06dr3y6bd7vfjf0p9v85yp1xzg43x515zsa9587jcx7yy5h5ams5";
    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 = "http://digitalcorpora.org/downloads/afflib/";
    updateWalker = true;
  };
}