summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/processor/default.nix
blob: d4eba003ea674b5e57fde5597418d7be521a93b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  buildDunePackage,
  fetchFromGitHub,
}:

buildDunePackage rec {
  pname = "processor";
  version = "0.1-unstable-2024-07-23";

  minimalOCamlVersion = "4.08";

  src = fetchFromGitHub {
    owner = "haesbaert";
    repo = "ocaml-processor";
    rev = "74df5ab38773e5c4ad5c3a3f21f525d863731c17";
    hash = "sha256-tWmgAsYfcpZUyxo7F+WIC3WOfAjDiuV74CscqEd93gk=";
  };

  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 ];
  };
}