nixpkgs/pkgs/development/ocaml-modules/lwt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
669 B
Nix
Raw Normal View History

2022-10-15 19:46:28 +00:00
{ lib, fetchFromGitHub, libev, buildDunePackage
, cppo, dune-configurator, ocplib-endian
2016-11-21 18:20:43 +00:00
}:
buildDunePackage rec {
pname = "lwt";
2022-10-15 19:46:28 +00:00
version = "5.6.1";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "ocsigen";
repo = "lwt";
rev = version;
2022-10-15 19:46:28 +00:00
sha256 = "sha256-XstKs0tMwliCyXnP0Vzi5WC27HKJGnATUYtbbQmH1TE=";
};
2022-10-15 19:46:28 +00:00
nativeBuildInputs = [ cppo ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ libev ocplib-endian ];
2018-03-25 18:26:39 +00:00
meta = {
homepage = "https://ocsigen.org/lwt/";
description = "A cooperative threads library for OCaml";
maintainers = [ lib.maintainers.vbgl ];
license = lib.licenses.mit;
};
}