32 lines
674 B
Nix
32 lines
674 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
fetchFromGitHub,
|
||
|
|
buildDunePackage,
|
||
|
|
qcheck-core,
|
||
|
|
}:
|
||
|
|
|
||
|
|
buildDunePackage rec {
|
||
|
|
pname = "qcheck-multicoretests-util";
|
||
|
|
version = "0.9";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "ocaml-multicore";
|
||
|
|
repo = "multicoretests";
|
||
|
|
rev = version;
|
||
|
|
hash = "sha256-ekHit4MaDb6lUZzGGZ1bm7brUlUgpfIBSpsOvDSxNhw=";
|
||
|
|
};
|
||
|
|
|
||
|
|
propagatedBuildInputs = [ qcheck-core ];
|
||
|
|
|
||
|
|
doCheck = true;
|
||
|
|
|
||
|
|
minimalOCamlVersion = "4.12";
|
||
|
|
|
||
|
|
meta = {
|
||
|
|
homepage = "https://github.com/ocaml-multicore/multicoretests";
|
||
|
|
description = "Utility functions for property-based testing of multicore programs";
|
||
|
|
license = lib.licenses.bsd2;
|
||
|
|
maintainers = [ lib.maintainers.vbgl ];
|
||
|
|
};
|
||
|
|
}
|