Files
nixpkgs/pkgs/development/ocaml-modules/qcheck/ppx_deriving_qcheck.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

46 lines
772 B
Nix

{
lib,
buildDunePackage,
fetchFromGitHub,
qcheck,
ppxlib,
ppx_deriving,
}:
let
param =
if lib.versionAtLeast ppxlib.version "0.36" then
{
version = "0.7";
tag = "v0.25";
hash = "sha256-Z89jJ21zm89wb9m5HthnbHdnE9iXLyaH9k8S+FAWkKQ=";
}
else
{
version = "0.6";
tag = "v0.24";
hash = "sha256-iuFlmSeUhumeWhqHlaNqDjReRf8c4e76hhT27DK3+/g=";
};
in
buildDunePackage {
pname = "ppx_deriving_qcheck";
inherit (param) version;
src = fetchFromGitHub {
owner = "c-cube";
repo = "qcheck";
inherit (param) tag hash;
};
propagatedBuildInputs = [
qcheck
ppxlib
ppx_deriving
];
meta = qcheck.meta // {
description = "PPX Deriver for QCheck";
};
}