4bac34ead1
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
31 lines
705 B
Nix
31 lines
705 B
Nix
{ 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;
|
|
checkInputs = [ mirage-clock-unix ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ocaml-multicore/domainslib";
|
|
description = "Nested-parallel programming";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|