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