1{
2 lib,
3 fetchFromGitLab,
4 buildDunePackage,
5 lwt,
6}:
7
8buildDunePackage rec {
9 pname = "lwt-watcher";
10 version = "0.2";
11 src = fetchFromGitLab {
12 owner = "nomadic-labs";
13 repo = pname;
14 rev = "v${version}";
15 hash = "sha256-35Z73bSzEEgTabNH2cD9lRdDczsyIMZR2ktyKx4aN9k=";
16 };
17
18 useDune2 = true;
19
20 propagatedBuildInputs = [
21 lwt
22 ];
23
24 doCheck = true;
25
26 meta = {
27 description = "One-to-many broadcast in Lwt";
28 license = lib.licenses.mit;
29 maintainers = [ lib.maintainers.ulrikstrid ];
30 };
31}