ocamlPackages.processor: init at 0.1

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2025-06-06 15:34:51 -04:00
committed by Vincent Laporte
parent d10c333188
commit bf2505d76c
2 changed files with 32 additions and 0 deletions
@@ -0,0 +1,30 @@
{
lib,
buildDunePackage,
fetchFromGitHub,
}:
buildDunePackage rec {
pname = "processor";
version = "0.1";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "haesbaert";
repo = "ocaml-processor";
tag = "v${version}";
hash = "sha256-eGSNYjVbUIUMelajqZYOd3gvmRKQ9UP3TfMflLR9i7k=";
};
doCheck = true;
meta = {
description = "CPU topology and affinity for ocaml-multicore";
homepage = "https://haesbaert.github.io/ocaml-processor/processor/index.html";
downloadPage = "https://github.com/haesbaert/ocaml-processor";
changelog = "https://github.com/haesbaert/ocaml-processor/releases/tag/v${version}";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.ethancedwards8 ];
};
}
+2
View File
@@ -1780,6 +1780,8 @@ let
process = callPackage ../development/ocaml-modules/process { };
processor = callPackage ../development/ocaml-modules/processor { };
prometheus = callPackage ../development/ocaml-modules/prometheus { };
progress = callPackage ../development/ocaml-modules/progress { };