2017-02-02 01:14:47 +00:00
|
|
|
{ stdenv, fetchFromGitHub, zlib, curl, expat, fuse, openssl
|
2018-08-03 15:53:51 +00:00
|
|
|
, autoreconfHook, python3
|
2014-11-03 13:04:28 +00:00
|
|
|
}:
|
2011-08-02 19:46:28 +00:00
|
|
|
|
2014-05-01 08:57:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-07-08 02:34:24 +00:00
|
|
|
version = "3.7.19";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "afflib";
|
2014-05-01 08:57:52 +00:00
|
|
|
|
2017-02-02 01:14:47 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sshock";
|
|
|
|
repo = "AFFLIBv3";
|
|
|
|
rev = "v${version}";
|
2020-07-08 02:34:24 +00:00
|
|
|
sha256 = "1qs843yi33yqbp0scqirn753lxzg762rz6xy2h3f8f77fijqj2qb";
|
2011-08-02 19:46:28 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2020-07-08 04:59:56 +00:00
|
|
|
buildInputs = [ zlib curl expat openssl python3 ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isLinux [ fuse ];
|
2014-11-03 13:04:28 +00:00
|
|
|
|
2011-08-02 19:46:28 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://afflib.sourceforge.net/";
|
2011-08-02 19:46:28 +00:00
|
|
|
description = "Advanced forensic format library";
|
2020-07-08 04:59:56 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2014-05-01 08:57:52 +00:00
|
|
|
license = stdenv.lib.licenses.bsdOriginal;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
2014-07-01 08:27:13 +00:00
|
|
|
inherit version;
|
2014-12-20 21:29:22 +00:00
|
|
|
downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
|
2011-08-02 19:46:28 +00:00
|
|
|
};
|
2014-05-01 08:57:52 +00:00
|
|
|
}
|