nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 46 lines 958 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 alcotest, 6 domain_shims, 7 mdx, 8 thread-table, 9}: 10 11buildDunePackage rec { 12 pname = "domain-local-await"; 13 version = "1.0.1"; 14 15 minimalOCamlVersion = "5.0"; 16 17 src = fetchurl { 18 url = "https://github.com/ocaml-multicore/${pname}/releases/download/${version}/${pname}-${version}.tbz"; 19 hash = "sha256-KVIRPFPLB+KwVLLchs5yk5Ex2rggfI8xOa2yPmTN+m8="; 20 }; 21 22 propagatedBuildInputs = [ 23 thread-table 24 ]; 25 26 __darwinAllowLocalNetworking = true; 27 doCheck = true; 28 29 checkInputs = [ 30 alcotest 31 domain_shims 32 mdx 33 ]; 34 35 nativeCheckInputs = [ 36 mdx.bin 37 ]; 38 39 meta = { 40 homepage = "https://github.com/ocaml-multicore/ocaml-${pname}"; 41 changelog = "https://github.com/ocaml-multicore/ocaml-${pname}/raw/v${version}/CHANGES.md"; 42 description = "Scheduler independent blocking mechanism"; 43 license = with lib.licenses; [ isc ]; 44 maintainers = with lib.maintainers; [ toastal ]; 45 }; 46}