2024-05-20 05:17:03 +02:00
|
|
|
{ lib, buildDunePackage, ocaml
|
2023-08-25 08:10:08 +02:00
|
|
|
, saturn_lockfree
|
2024-08-23 13:01:14 +02:00
|
|
|
, domain_shims
|
2023-08-25 08:10:08 +02:00
|
|
|
, dscheck
|
2024-08-23 13:01:14 +02:00
|
|
|
, multicore-bench
|
2023-08-25 08:10:08 +02:00
|
|
|
, qcheck, qcheck-alcotest, qcheck-stm
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "saturn";
|
|
|
|
|
|
|
|
inherit (saturn_lockfree) src version;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ saturn_lockfree ];
|
|
|
|
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "5.0";
|
2024-08-23 13:01:14 +02:00
|
|
|
checkInputs = [
|
|
|
|
domain_shims
|
|
|
|
dscheck
|
|
|
|
multicore-bench
|
|
|
|
qcheck
|
|
|
|
qcheck-alcotest
|
|
|
|
qcheck-stm
|
|
|
|
];
|
2023-08-25 08:10:08 +02:00
|
|
|
|
|
|
|
meta = saturn_lockfree.meta // {
|
|
|
|
description = "Parallelism-safe data structures for multicore OCaml";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|