Unverified Commit 937a8b19 authored by Vincent Laporte's avatar Vincent Laporte Committed by GitHub
Browse files

domainpc: init at 0.2 (#485497)

parents 5df18a3c e27fad0a
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };