blob: 279fdb8a392b0061b0ff87fb9da0ce321cc4582e (
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
46
47
48
49
50
51
|
{
lib,
stdenv,
buildDunePackage,
fetchFromGitHub,
cmdliner,
afl-persistent,
calendar,
fpath,
pprint,
uutf,
uunf,
uucp,
}:
buildDunePackage (finalAttrs: {
pname = "crowbar";
version = "0.2.2";
src = fetchFromGitHub {
owner = "stedolan";
repo = "crowbar";
tag = "v${finalAttrs.version}";
hash = "sha256-KGDOm9PMymFwyHoe7gp+rl+VxbbkLvnb8ypTXbImSgs=";
};
# disable xmldiff tests, so we don't need to package unmaintained and legacy pkgs
postPatch = "rm -rf examples/xmldiff";
propagatedBuildInputs = [
cmdliner
afl-persistent
];
checkInputs = [
calendar
fpath
pprint
uutf
uunf
uucp
];
# uunf is broken on aarch64
doCheck = !stdenv.hostPlatform.isAarch64;
meta = {
description = "Property fuzzing for OCaml";
homepage = "https://github.com/stedolan/crowbar";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sternenseemann ];
};
})
|