about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/lwt-watcher/default.nix
blob: db94ce3d62d1d6c2f311c6c40e6538ec03c2272e (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.2";
  src = fetchFromGitLab {
    owner = "nomadic-labs";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-35Z73bSzEEgTabNH2cD9lRdDczsyIMZR2ktyKx4aN9k=";
  };

  useDune2 = true;

  propagatedBuildInputs = [
    lwt
  ];

  doCheck = true;

  meta = {
    description = "One-to-many broadcast in Lwt";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.ulrikstrid ];
  };
}