push sheeet
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

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{
buildDunePackage,
qcheck-core,
alcotest,
}:
buildDunePackage {
pname = "qcheck-alcotest";
inherit (qcheck-core) version src patches;
propagatedBuildInputs = [
qcheck-core
alcotest
];
meta = qcheck-core.meta // {
description = "Alcotest backend for qcheck";
};
}

View File

@@ -0,0 +1,27 @@
{
lib,
buildDunePackage,
fetchFromGitHub,
}:
buildDunePackage rec {
pname = "qcheck-core";
version = "0.25";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "c-cube";
repo = "qcheck";
tag = "v${version}";
hash = "sha256-Z89jJ21zm89wb9m5HthnbHdnE9iXLyaH9k8S+FAWkKQ=";
};
meta = {
description = "Core qcheck library";
homepage = "https://c-cube.github.io/qcheck/";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@@ -0,0 +1,14 @@
{ buildDunePackage, qcheck-ounit }:
buildDunePackage {
pname = "qcheck";
inherit (qcheck-ounit) version src patches;
propagatedBuildInputs = [ qcheck-ounit ];
meta = qcheck-ounit.meta // {
description = "Compatibility package for qcheck";
};
}

View File

@@ -0,0 +1,18 @@
{
buildDunePackage,
qcheck-multicoretests-util,
}:
buildDunePackage {
pname = "qcheck-lin";
inherit (qcheck-multicoretests-util) version src;
propagatedBuildInputs = [ qcheck-multicoretests-util ];
doCheck = true;
meta = qcheck-multicoretests-util.meta // {
description = "Multicore testing library for OCaml";
};
}

View File

@@ -0,0 +1,31 @@
{
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 ];
};
}

View File

@@ -0,0 +1,21 @@
{
buildDunePackage,
qcheck-core,
ounit2,
}:
buildDunePackage {
pname = "qcheck-ounit";
inherit (qcheck-core) version src patches;
propagatedBuildInputs = [
qcheck-core
ounit2
];
meta = qcheck-core.meta // {
description = "OUnit backend for qcheck";
};
}

View File

@@ -0,0 +1,45 @@
{
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";
};
}

View File

@@ -0,0 +1,18 @@
{
buildDunePackage,
qcheck-multicoretests-util,
}:
buildDunePackage {
pname = "qcheck-stm";
inherit (qcheck-multicoretests-util) src version;
propagatedBuildInputs = [ qcheck-multicoretests-util ];
doCheck = true;
meta = qcheck-multicoretests-util.meta // {
description = "State-machine testing library for sequential and parallel model-based tests";
};
}