about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-12-09 10:29:18 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2019-12-09 17:02:12 +0000
commit191f1c9a49892d99671e4e2f4cc9676c0f76e78a (patch)
tree6aefe73a99e77f83b37e4e9bdfb1be1f41657c94 /pkgs/development/ocaml-modules
parent45d3c40cc45159f53e7da291c4937cfba899b968 (diff)
downloadnixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.tar
nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.tar.gz
nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.tar.bz2
nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.tar.lz
nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.tar.xz
nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.tar.zst
nixlib-191f1c9a49892d99671e4e2f4cc9676c0f76e78a.zip
ocamlPackages.irmin-http: init at 2.0.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/irmin/http.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/irmin/http.nix b/pkgs/development/ocaml-modules/irmin/http.nix
new file mode 100644
index 000000000000..c8db6d563c9d
--- /dev/null
+++ b/pkgs/development/ocaml-modules/irmin/http.nix
@@ -0,0 +1,23 @@
+{ lib, buildDunePackage, cohttp-lwt, irmin, webmachine
+, checkseum, git-unix, irmin-git, irmin-mem, irmin-test
+}:
+
+buildDunePackage rec {
+
+  pname = "irmin-http";
+
+  inherit (irmin) version src;
+
+  propagatedBuildInputs = [ cohttp-lwt irmin webmachine ];
+
+  checkInputs = lib.optionals doCheck [ checkseum git-unix irmin-git irmin-mem irmin-test ];
+
+  doCheck = true;
+
+  meta = irmin.meta // {
+    description = "HTTP client and server for Irmin";
+  };
+
+}
+
+