1{
2 lib,
3 fetchurl,
4 buildDunePackage,
5 astring,
6 fmt,
7 logs,
8 ocaml_lwt,
9}:
10
11buildDunePackage rec {
12 pname = "irmin-watcher";
13 version = "0.5.0";
14
15 useDune2 = true;
16
17 src = fetchurl {
18 url = "https://github.com/mirage/irmin-watcher/releases/download/${version}/irmin-watcher-${version}.tbz";
19 sha256 = "sha256-vq4kwaz4QUG9x0fGEbQMAuDGjlT3/6lm8xiXTUqJmZM=";
20 };
21
22 propagatedBuildInputs = [
23 astring
24 fmt
25 logs
26 ocaml_lwt
27 ];
28
29 meta = {
30 homepage = "https://github.com/mirage/irmin-watcher";
31 description = "Portable Irmin watch backends using FSevents or Inotify";
32 license = lib.licenses.isc;
33 maintainers = [ lib.maintainers.vbgl ];
34 };
35
36}