2021-01-22 00:00:13 +07:00
|
|
|
{ lib, stdenv, fetchFromGitHub, zlib, curl, expat, fuse, openssl
|
2021-03-27 15:59:33 +09:00
|
|
|
, autoreconfHook, python3, libiconv
|
2014-11-03 16:04:28 +03:00
|
|
|
}:
|
2011-08-02 19:46:28 +00:00
|
|
|
|
2014-05-01 10:57:52 +02: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 10:57:52 +02:00
|
|
|
|
2017-02-02 02:14:47 +01: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 17:26:13 -04:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2020-07-07 23:59:56 -05:00
|
|
|
buildInputs = [ zlib curl expat openssl python3 ]
|
2021-03-27 15:59:33 +09:00
|
|
|
++ lib.optionals (with stdenv; isLinux || isDarwin) [ fuse ]
|
|
|
|
|
++ lib.optionals stdenv.isDarwin [ libiconv ];
|
2014-11-03 16:04:28 +03:00
|
|
|
|
2011-08-02 19:46:28 +00:00
|
|
|
meta = {
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "http://afflib.sourceforge.net/";
|
2011-08-02 19:46:28 +00:00
|
|
|
description = "Advanced forensic format library";
|
2021-01-22 00:00:13 +07:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
|
license = lib.licenses.bsdOriginal;
|
|
|
|
|
maintainers = [ lib.maintainers.raskin ];
|
2014-07-01 12:27:13 +04:00
|
|
|
inherit version;
|
2014-12-21 00:29:22 +03:00
|
|
|
downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
|
2011-08-02 19:46:28 +00:00
|
|
|
};
|
2014-05-01 10:57:52 +02:00
|
|
|
}
|