blob: 58944ead305052039cc329051cbdbbae17518eee (
plain)
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
39
40
41
42
43
44
45
|
{
lib,
stdenv,
fetchFromGitHub,
zlib,
curl,
expat,
fuse3,
openssl,
autoreconfHook,
python3,
}:
stdenv.mkDerivation (finalAttrs: {
version = "3.7.22";
pname = "afflib";
src = fetchFromGitHub {
owner = "sshock";
repo = "AFFLIBv3";
tag = "v${finalAttrs.version}";
sha256 = "sha256-pGInhJQBhFJhft/KfB3J3S9/BVp9D8TZ+uw2CUNVC+Q=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [
zlib
curl
expat
openssl
python3
fuse3
];
env.CFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-DFUSE_DARWIN_ENABLE_EXTENSIONS=0";
meta = {
homepage = "http://afflib.sourceforge.net/";
description = "Advanced forensic format library";
platforms = lib.platforms.unix;
license = lib.licenses.bsdOriginal;
maintainers = [ lib.maintainers.raskin ];
downloadPage = "https://github.com/sshock/AFFLIBv3/tags";
};
})
|