domainpc: init at 0.2

This commit is contained in:
redianthus
2026-02-17 10:14:52 +01:00
parent da7c196c58
commit e27fad0a4e
2 changed files with 33 additions and 0 deletions
@@ -0,0 +1,31 @@
{
lib,
buildDunePackage,
fetchFromGitHub,
processor,
}:
buildDunePackage (finalAttrs: {
pname = "domainpc";
version = "0.2";
minimalOCamlVersion = "5.1";
src = fetchFromGitHub {
owner = "ocamlpro";
repo = "domainpc";
tag = finalAttrs.version;
hash = "sha256-VyCbxVikV0+YZzgC/8i4RLxVWN3TMS6n0qR72SmVwI8=";
};
propagatedBuildInputs = [
processor
];
meta = {
description = "Domain Per Core, spawn domains ensuring that they run on separate cores";
homepage = "https://github.com/ocamlpro/domainpc";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ redianthus ];
};
})
+2
View File
@@ -456,6 +456,8 @@ let
domain_shims = callPackage ../development/ocaml-modules/domain_shims { };
domainpc = callPackage ../development/ocaml-modules/domainpc { };
domainslib = callPackage ../development/ocaml-modules/domainslib { };
dose3 = callPackage ../development/ocaml-modules/dose3 { };