nixpkgs/pkgs/development/ocaml-modules/reason-native/qcheck-rely.nix
Et7f3 5f0d203e0b
ocamlPackages.reason-native.qcheck-rely: fix build (#223793)
* Revert "Merge pull request #223606 from superherointj/reason-native-qcheck-rely-remove"

This reverts commit 0ffeb65186, reversing
changes made to d6054a9d71.

* ocamlPackages.reason-native: bump to 2022-08-31-a0ddab6 + cleanup

* ocamlPackages.reason-native.qcheck-rely: fix build
2023-03-30 09:18:45 +02:00

32 lines
884 B
Nix

{ qcheck-core, reason, console, rely, fetchpatch, ... }:
{
pname = "qcheck-rely";
nativeBuildInputs = [
reason
];
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"
];
})
];
propagatedBuildInputs = [
qcheck-core
console
rely
];
meta = {
description = "A 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'";
downloadPage = "https://github.com/reasonml/reason-native/tree/master/src/qcheck-rely";
};
}