forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / ocaml-modules / domain-local-await / default.nix
blob9b90e87aa51797b89390d12bf569326df4e64259
1 { lib
2 , buildDunePackage
3 , fetchurl
4 , alcotest
5 , domain_shims
6 , mdx
7 , thread-table
8 }:
10 buildDunePackage rec {
11   pname = "domain-local-await";
12   version = "1.0.1";
14   minimalOCamlVersion = "5.0";
16   src = fetchurl {
17     url = "https://github.com/ocaml-multicore/${pname}/releases/download/${version}/${pname}-${version}.tbz";
18     hash = "sha256-KVIRPFPLB+KwVLLchs5yk5Ex2rggfI8xOa2yPmTN+m8=";
19   };
21   propagatedBuildInputs = [
22     thread-table
23   ];
25   doCheck = true;
27   checkInputs = [
28     alcotest
29     domain_shims
30     mdx
31   ];
33   nativeCheckInputs = [
34     mdx.bin
35   ];
37   meta = {
38     homepage = "https://github.com/ocaml-multicore/ocaml-${pname}";
39     changelog = "https://github.com/ocaml-multicore/ocaml-${pname}/raw/v${version}/CHANGES.md";
40     description = "Scheduler independent blocking mechanism";
41     license = with lib.licenses; [ isc ];
42     maintainers = with lib.maintainers; [ toastal ];
43   };