2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, buildDunePackage, fetchFromGitHub, ocplib-endian, cmdliner, afl-persistent
|
2020-06-18 07:06:33 +00:00
|
|
|
, calendar, fpath, pprint, uutf, uunf, uucp }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "crowbar";
|
2022-09-22 12:36:57 +00:00
|
|
|
version = "0.2.1";
|
2021-04-05 15:23:46 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stedolan";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-09-22 12:36:57 +00:00
|
|
|
sha256 = "sha256-0jjwiOZ9Ut+dv5Iw4xNvf396WTehT1VClxY9VHicw4U=";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
# disable xmldiff tests, so we don't need to package unmaintained and legacy pkgs
|
|
|
|
postPatch = "rm -rf examples/xmldiff";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ocplib-endian cmdliner afl-persistent ];
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ calendar fpath pprint uutf uunf uucp ];
|
2020-06-18 07:06:33 +00:00
|
|
|
# uunf is broken on aarch64
|
|
|
|
doCheck = !stdenv.isAarch64;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-06-18 07:06:33 +00:00
|
|
|
description = "Property fuzzing for OCaml";
|
|
|
|
homepage = "https://github.com/stedolan/crowbar";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|