summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/lwt-watcher/default.nix
blob: 23caa894736a3d5e88fe5e022f156b3f059620cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 ];
  };
}