ocamlPackages.lwt-canceler: init at 0.2

This commit is contained in:
Ulrik Strid 2021-07-07 09:33:06 +02:00 committed by Vincent Laporte
parent 8d0df26d8e
commit 4c0834929c
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, fetchFromGitLab, buildDunePackage, lwt }:
buildDunePackage rec {
pname = "lwt-canceler";
version = "0.2";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = "lwt-canceler";
rev = "v${version}";
sha256 = "07931486vg83sl1c268i0vyw61l8n8xs2krjsj43070zljqi8rf1";
};
useDune2 = true;
propagatedBuildInputs = [
lwt
];
doCheck = true;
meta = {
homepage = "https://gitlab.com/nomadic-labs/lwt-canceler";
description = "Cancellation synchronization object";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}

View File

@ -612,6 +612,8 @@ let
ocaml-migrate-parsetree = ocaml-migrate-parsetree-2;
};
lwt-canceler = callPackage ../development/ocaml-modules/lwt-canceler { };
ocaml_lwt = lwt;
lwt_camlp4 = callPackage ../development/ocaml-modules/lwt/camlp4.nix { };