2023-01-11 07:51:40 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage
|
|
|
|
, lockfree
|
|
|
|
, mirage-clock-unix
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "domainslib";
|
|
|
|
version = "0.5.0";
|
|
|
|
|
|
|
|
duneVersion = "3";
|
|
|
|
minimalOCamlVersion = "5.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ocaml-multicore/domainslib/releases/download/v${version}/domainslib-${version}.tbz";
|
|
|
|
hash = "sha256-rty+9DUhTUEcN7BPl8G6Q/G/MJ6z/UAn0RPkG8hACwA=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ lockfree ];
|
|
|
|
|
|
|
|
doCheck = true;
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ mirage-clock-unix ];
|
2023-01-11 07:51:40 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/ocaml-multicore/domainslib";
|
|
|
|
description = "Nested-parallel programming";
|
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|