python313Packages.kasa-crypt: 0.4.4 -> 0.5.0 (#375396)
[NixPkgs.git] / pkgs / development / ocaml-modules / domain-local-await / default.nix
blob854acc25f5e6beda42a2ac514e459d02636978c6
2   lib,
3   buildDunePackage,
4   fetchurl,
5   alcotest,
6   domain_shims,
7   mdx,
8   thread-table,
9 }:
11 buildDunePackage rec {
12   pname = "domain-local-await";
13   version = "1.0.1";
15   minimalOCamlVersion = "5.0";
17   src = fetchurl {
18     url = "https://github.com/ocaml-multicore/${pname}/releases/download/${version}/${pname}-${version}.tbz";
19     hash = "sha256-KVIRPFPLB+KwVLLchs5yk5Ex2rggfI8xOa2yPmTN+m8=";
20   };
22   propagatedBuildInputs = [
23     thread-table
24   ];
26   __darwinAllowLocalNetworking = true;
27   doCheck = true;
29   checkInputs = [
30     alcotest
31     domain_shims
32     mdx
33   ];
35   nativeCheckInputs = [
36     mdx.bin
37   ];
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   };