summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorUlrik Strid <ulrik.strid@outlook.com>2021-07-15 16:20:46 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2021-07-15 21:31:38 +0200
commit56b1922df698508d0a001a3d4e123cfd49c9919d (patch)
tree62207d5754f7335ad28105e81eeb538eec14c083 /pkgs/development/ocaml-modules
parent59a7a539edbe5141949ea0695884b0d50c27cac7 (diff)
downloadnixpkgs-56b1922df698508d0a001a3d4e123cfd49c9919d.tar
nixpkgs-56b1922df698508d0a001a3d4e123cfd49c9919d.tar.gz
nixpkgs-56b1922df698508d0a001a3d4e123cfd49c9919d.tar.bz2
nixpkgs-56b1922df698508d0a001a3d4e123cfd49c9919d.tar.lz
nixpkgs-56b1922df698508d0a001a3d4e123cfd49c9919d.tar.xz
nixpkgs-56b1922df698508d0a001a3d4e123cfd49c9919d.tar.zst
nixpkgs-56b1922df698508d0a001a3d4e123cfd49c9919d.zip
ocamlPackages.lwt-watcher: init at 0.1
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/lwt-watcher/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lwt-watcher/default.nix b/pkgs/development/ocaml-modules/lwt-watcher/default.nix
new file mode 100644
index 00000000000..23caa894736
--- /dev/null
+++ b/pkgs/development/ocaml-modules/lwt-watcher/default.nix
@@ -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 ];
+  };
+}