ocamlPackages.lwt-exit: init at 1.0
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
This commit is contained in:
committed by
Vincent Laporte
parent
8b247a73bd
commit
b2c49d1d71
@@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, fetchFromGitLab
|
||||
, buildDunePackage
|
||||
, lwt
|
||||
, ptime
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "lwt-exit";
|
||||
version = "1.0";
|
||||
src = fetchFromGitLab {
|
||||
owner = "nomadic-labs";
|
||||
repo = pname;
|
||||
rev = "${version}";
|
||||
sha256 = "1k763bmj1asj9ijar39rh3h1d59rckmsf21h2y8966lgglsf42bd";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lwt
|
||||
ptime
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "An opinionated clean-exit and signal-handling library for Lwt programs";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.ulrikstrid ];
|
||||
};
|
||||
}
|
||||
@@ -649,6 +649,8 @@ let
|
||||
|
||||
lwt-dllist = callPackage ../development/ocaml-modules/lwt-dllist { };
|
||||
|
||||
lwt-exit = callPackage ../development/ocaml-modules/lwt-exit { };
|
||||
|
||||
lwt-watcher = callPackage ../development/ocaml-modules/lwt-watcher { };
|
||||
|
||||
lwt_log = callPackage ../development/ocaml-modules/lwt_log { };
|
||||
|
||||
Reference in New Issue
Block a user