Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / lwt / default.nix
blob167df30ae3535f39a4dd0deea7b0f99e51d86c71
1 { lib, fetchFromGitHub, libev, buildDunePackage
2 , ocaml, cppo, dune-configurator, ocplib-endian
3 }:
5 buildDunePackage rec {
6   pname = "lwt";
7   version = "5.7.0";
9   minimalOCamlVersion = "4.08";
11   src = fetchFromGitHub {
12     owner = "ocsigen";
13     repo = "lwt";
14     rev = version;
15     hash = "sha256-o0wPK6dPdnsr/LzwcSwbIGcL85wkDjdFuEcAxuS/UEs=";
16   };
18   nativeBuildInputs = [ cppo ];
19   buildInputs = [ dune-configurator ];
20   propagatedBuildInputs = [ libev ocplib-endian ];
22   meta = {
23     homepage = "https://ocsigen.org/lwt/";
24     description = "A cooperative threads library for OCaml";
25     maintainers = [ lib.maintainers.vbgl ];
26     license = lib.licenses.mit;
27   };