1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5}:
6
7buildDunePackage rec {
8 pname = "processor";
9 version = "0.1-unstable-2024-07-23";
10
11 minimalOCamlVersion = "4.08";
12
13 src = fetchFromGitHub {
14 owner = "haesbaert";
15 repo = "ocaml-processor";
16 rev = "74df5ab38773e5c4ad5c3a3f21f525d863731c17";
17 hash = "sha256-tWmgAsYfcpZUyxo7F+WIC3WOfAjDiuV74CscqEd93gk=";
18 };
19
20 doCheck = true;
21
22 meta = {
23 description = "CPU topology and affinity for ocaml-multicore";
24 homepage = "https://haesbaert.github.io/ocaml-processor/processor/index.html";
25 downloadPage = "https://github.com/haesbaert/ocaml-processor";
26 changelog = "https://github.com/haesbaert/ocaml-processor/releases/tag/v${version}";
27 license = lib.licenses.isc;
28 maintainers = [ lib.maintainers.ethancedwards8 ];
29 };
30}