Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 alcotest, 6 domain_shims, 7}: 8 9buildDunePackage rec { 10 pname = "multicore-magic"; 11 version = "2.3.0"; 12 13 src = fetchurl { 14 url = "https://github.com/ocaml-multicore/multicore-magic/releases/download/${version}/multicore-magic-${version}.tbz"; 15 hash = "sha256-r50UqLOd2DoTz0CEXHpJMHX0fty+mGiAKTdtykgnzu4="; 16 }; 17 18 doCheck = true; 19 20 checkInputs = [ 21 alcotest 22 domain_shims 23 ]; 24 25 meta = { 26 description = "Low-level multicore utilities for OCaml"; 27 license = lib.licenses.isc; 28 homepage = "https://github.com/ocaml-multicore/multicore-magic"; 29 maintainers = [ lib.maintainers.vbgl ]; 30 }; 31}