at 23.05-pre 32 lines 934 B view raw
1{ lib, stdenv, buildDunePackage, fetchFromGitHub, ocplib-endian, cmdliner, afl-persistent 2, calendar, fpath, pprint, uutf, uunf, uucp }: 3 4buildDunePackage rec { 5 pname = "crowbar"; 6 version = "0.2.1"; 7 8 src = fetchFromGitHub { 9 owner = "stedolan"; 10 repo = pname; 11 rev = "v${version}"; 12 sha256 = "sha256-0jjwiOZ9Ut+dv5Iw4xNvf396WTehT1VClxY9VHicw4U="; 13 }; 14 15 minimalOCamlVersion = "4.08"; 16 17 # disable xmldiff tests, so we don't need to package unmaintained and legacy pkgs 18 postPatch = "rm -rf examples/xmldiff"; 19 20 propagatedBuildInputs = [ ocplib-endian cmdliner afl-persistent ]; 21 checkInputs = [ calendar fpath pprint uutf uunf uucp ]; 22 # uunf is broken on aarch64 23 doCheck = !stdenv.isAarch64; 24 25 meta = with lib; { 26 description = "Property fuzzing for OCaml"; 27 homepage = "https://github.com/stedolan/crowbar"; 28 license = licenses.mit; 29 maintainers = [ maintainers.sternenseemann ]; 30 }; 31} 32