biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / ocaml-modules / domain-local-await / default.nix
bloba3ed0bcc3ed65225f679779b34ec182525b9b0f9
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 = "A scheduler independent blocking mechanism";
41     license = with lib.licenses; [ isc ];
42     maintainers = with lib.maintainers; [ toastal ];
43   };