pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / ocaml-modules / fiber / default.nix
bloba99f10899e583c64025ffaa27bcd711f075009ea
1 { lib
2 , buildDunePackage
3 , dyn
4 , fetchurl
5 , ppx_expect
6 , stdune
7 }:
9 buildDunePackage rec {
10   pname = "fiber";
11   version = "3.7.0";
13   src = fetchurl {
14     url = "https://github.com/ocaml-dune/fiber/releases/download/${version}/fiber-lwt-${version}.tbz";
15     hash = "sha256-hkihWuk/5pQpmc42iHQpo5E7YoKcRxTlIMwOehw7loI=";
16   };
18   buildInputs = [ stdune dyn ];
20   checkInputs = [ ppx_expect ];
22   # Tests are Ocaml version dependent
23   # https://github.com/ocaml-dune/fiber/issues/27
24   doCheck = false;
26   meta = with lib; {
27     description = "Structured concurrency library";
28     homepage = "https://github.com/ocaml-dune/fiber";
29     maintainers = [ ];
30     license = licenses.mit;
31   };