2023-03-30 22:05:00 +00:00
|
|
|
{ qcheck-core, reason, console, rely, fetchpatch, ... }:
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
pname = "qcheck-rely";
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
nativeBuildInputs = [
|
2021-06-28 23:13:55 +00:00
|
|
|
reason
|
|
|
|
];
|
|
|
|
|
2023-03-30 22:05:00 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/reasonml/reason-native/pull/269/commits/b42d66f5929a11739c13f849939007bf8610888b.patch";
|
|
|
|
hash = "sha256-MMLl3eqF8xQZ2T+sIEuv2WpnGF6FZtatgH5fiF5hpP4=";
|
|
|
|
includes = [
|
|
|
|
"src/qcheck-rely/QCheckRely.re"
|
|
|
|
"src/qcheck-rely/QCheckRely.rei"
|
|
|
|
];
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
qcheck-core
|
|
|
|
console
|
|
|
|
rely
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library containing custom Rely matchers allowing for easily using QCheck with Rely. QCheck is a 'QuickCheck inspired property-based testing for OCaml, and combinators to generate random values to run tests on'";
|
2021-06-28 23:13:55 +00:00
|
|
|
downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/qcheck-rely";
|
|
|
|
};
|
|
|
|
}
|