ocamlPackages.domainslib: init at 0.5.0
This commit is contained in:
parent
f0dfae91ff
commit
62cc26f3f6
29
pkgs/development/ocaml-modules/domainslib/default.nix
Normal file
29
pkgs/development/ocaml-modules/domainslib/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -328,6 +328,8 @@ let
|
||||||
|
|
||||||
domain-name = callPackage ../development/ocaml-modules/domain-name { };
|
domain-name = callPackage ../development/ocaml-modules/domain-name { };
|
||||||
|
|
||||||
|
domainslib = callPackage ../development/ocaml-modules/domainslib { };
|
||||||
|
|
||||||
dose3 = callPackage ../development/ocaml-modules/dose3 { };
|
dose3 = callPackage ../development/ocaml-modules/dose3 { };
|
||||||
|
|
||||||
dscheck = callPackage ../development/ocaml-modules/dscheck { };
|
dscheck = callPackage ../development/ocaml-modules/dscheck { };
|
||||||
|
|
Loading…
Reference in a new issue