ocamlPackages.irmin-watcher: init at 0.4.1

This commit is contained in:
Vincent Laporte 2019-12-09 10:34:05 +00:00
parent bdd0a3fe8c
commit 583b483ebb
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, fetchurl, buildDunePackage
, astring, fmt, logs, ocaml_lwt
}:
buildDunePackage rec {
pname = "irmin-watcher";
version = "0.4.1";
src = fetchurl {
url = "https://github.com/mirage/irmin-watcher/releases/download/${version}/irmin-watcher-${version}.tbz";
sha256 = "00d4ph4jbsw6adp3zqdrwi099hfcf7p1xzi0685qr7bgcmandjfv";
};
propagatedBuildInputs = [ astring fmt logs ocaml_lwt ];
meta = {
homepage = "https://github.com/mirage/irmin-watcher";
description = "Portable Irmin watch backends using FSevents or Inotify";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -386,6 +386,8 @@ let
irmin-test = callPackage ../development/ocaml-modules/irmin/test.nix { };
irmin-watcher = callPackage ../development/ocaml-modules/irmin-watcher { };
jingoo = callPackage ../development/ocaml-modules/jingoo {
pcre = ocaml_pcre;
};