forked from mirrors/nixpkgs
ocamlPackages.lwt-watcher: init at 0.1
This commit is contained in:
parent
59a7a539ed
commit
56b1922df6
30
pkgs/development/ocaml-modules/lwt-watcher/default.nix
Normal file
30
pkgs/development/ocaml-modules/lwt-watcher/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -630,6 +630,8 @@ let
|
||||||
|
|
||||||
lwt-dllist = callPackage ../development/ocaml-modules/lwt-dllist { };
|
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_log = callPackage ../development/ocaml-modules/lwt_log { };
|
||||||
|
|
||||||
lwt_ppx = callPackage ../development/ocaml-modules/lwt/ppx.nix { };
|
lwt_ppx = callPackage ../development/ocaml-modules/lwt/ppx.nix { };
|
||||||
|
|
Loading…
Reference in a new issue