nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 nodejs-slim,
6 alcotest,
7 domain_shims,
8 js_of_ocaml,
9}:
10
11buildDunePackage rec {
12 pname = "multicore-magic";
13 version = "2.3.2";
14
15 src = fetchurl {
16 url = "https://github.com/ocaml-multicore/multicore-magic/releases/download/${version}/multicore-magic-${version}.tbz";
17 hash = "sha256-jY1wqCOq4c4EMDgIQqqIHErIONJFyvJ+0P8ld1CHF18=";
18 };
19
20 doCheck = true;
21
22 checkInputs = [
23 alcotest
24 domain_shims
25 ];
26 nativeCheckInputs = [
27 nodejs-slim
28 js_of_ocaml
29 ];
30
31 meta = {
32 description = "Low-level multicore utilities for OCaml";
33 license = lib.licenses.isc;
34 homepage = "https://github.com/ocaml-multicore/multicore-magic";
35 maintainers = [ lib.maintainers.vbgl ];
36 };
37}