ocamlPackages.lwt-watcher: init at 0.1

This commit is contained in:
Ulrik Strid 2021-07-15 16:20:46 +02:00 committed by Vincent Laporte
parent 59a7a539ed
commit 56b1922df6
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib
, fetchFromGitLab
, buildDunePackage
, lwt
}:
buildDunePackage rec {
pname = "lwt-watcher";
version = "0.1";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = pname;
rev = "v${version}";
sha256 = "0kaf7py02i0dn9rvrbzxh4ljfg059wc8xvm093m9wy7lsa68rax9";
};
useDune2 = true;
propagatedBuildInputs = [
lwt
];
doCheck = true;
meta = {
description = "One-to-many broadcast in Lwt";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}

View file

@ -630,6 +630,8 @@ let
lwt-dllist = callPackage ../development/ocaml-modules/lwt-dllist { };
lwt-watcher = callPackage ../development/ocaml-modules/lwt-watcher { };
lwt_log = callPackage ../development/ocaml-modules/lwt_log { };
lwt_ppx = callPackage ../development/ocaml-modules/lwt/ppx.nix { };