nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 buildDunePackage,
5 fetchFromGitHub,
6 cmdliner,
7 afl-persistent,
8 calendar,
9 fpath,
10 pprint,
11 uutf,
12 uunf,
13 uucp,
14}:
15
16buildDunePackage (finalAttrs: {
17 pname = "crowbar";
18 version = "0.2.2";
19
20 src = fetchFromGitHub {
21 owner = "stedolan";
22 repo = "crowbar";
23 tag = "v${finalAttrs.version}";
24 hash = "sha256-KGDOm9PMymFwyHoe7gp+rl+VxbbkLvnb8ypTXbImSgs=";
25 };
26
27 # disable xmldiff tests, so we don't need to package unmaintained and legacy pkgs
28 postPatch = "rm -rf examples/xmldiff";
29
30 propagatedBuildInputs = [
31 cmdliner
32 afl-persistent
33 ];
34 checkInputs = [
35 calendar
36 fpath
37 pprint
38 uutf
39 uunf
40 uucp
41 ];
42 # uunf is broken on aarch64
43 doCheck = !stdenv.hostPlatform.isAarch64;
44
45 meta = {
46 description = "Property fuzzing for OCaml";
47 homepage = "https://github.com/stedolan/crowbar";
48 license = lib.licenses.mit;
49 maintainers = with lib.maintainers; [ sternenseemann ];
50 };
51})