summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAlexandre Esteves <2335822+alexfmpe@users.noreply.github.com>2019-12-24 12:44:13 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-12-24 13:44:13 +0100
commitc7a9cb04fdf0be4894e24c3910bf2b1cc6d19f28 (patch)
tree7e1775a79e04cafa390f553221e298171c2d323f /pkgs
parent477f4460f852fd3e8ee82aae43ab3f0e510773d4 (diff)
downloadnixpkgs-c7a9cb04fdf0be4894e24c3910bf2b1cc6d19f28.tar
nixpkgs-c7a9cb04fdf0be4894e24c3910bf2b1cc6d19f28.tar.gz
nixpkgs-c7a9cb04fdf0be4894e24c3910bf2b1cc6d19f28.tar.bz2
nixpkgs-c7a9cb04fdf0be4894e24c3910bf2b1cc6d19f28.tar.lz
nixpkgs-c7a9cb04fdf0be4894e24c3910bf2b1cc6d19f28.tar.xz
nixpkgs-c7a9cb04fdf0be4894e24c3910bf2b1cc6d19f28.tar.zst
nixpkgs-c7a9cb04fdf0be4894e24c3910bf2b1cc6d19f28.zip
ocamlPackages.irmin: init at 1.4.0 (#74818)
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/irmin/1.4.nix26
-rw-r--r--pkgs/top-level/ocaml-packages.nix2
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/irmin/1.4.nix b/pkgs/development/ocaml-modules/irmin/1.4.nix
new file mode 100644
index 00000000000..878160f4b0a
--- /dev/null
+++ b/pkgs/development/ocaml-modules/irmin/1.4.nix
@@ -0,0 +1,26 @@
+{ lib, fetchurl, buildDunePackage, ocaml
+, astring, cstruct, fmt, hex, jsonm, logs, ocaml_lwt, ocamlgraph, uri
+}:
+
+buildDunePackage rec {
+  pname = "irmin";
+  version = "1.4.0";
+
+  minimumOCamlVersion = "4.03";
+
+  src = fetchurl {
+    url = "https://github.com/mirage/${pname}/releases/download/${version}/${pname}-${version}.tbz";
+    sha256 = "019di4cz0z65knl232rnwj26npnc1mqh8j71xbf0mav6x350g1w5";
+  };
+
+  propagatedBuildInputs = [ astring cstruct fmt hex jsonm logs ocaml_lwt ocamlgraph uri ];
+
+  doCheck = true;
+
+  meta = with lib; {
+    homepage = https://github.com/mirage/irmin;
+    description = "Irmin, a distributed database that follows the same design principles as Git";
+    license = licenses.isc;
+    maintainers = [ maintainers.alexfmpe ];
+  };
+}
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index 475119e37f0..4f884e91e26 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -336,6 +336,8 @@ let
       then callPackage ../development/ocaml-modules/ipaddr { }
       else ipaddr_p4;
 
+    irmin_1 = callPackage ../development/ocaml-modules/irmin/1.4.nix { };
+
     iso8601 = callPackage ../development/ocaml-modules/iso8601 { };
 
     iter = callPackage ../development/ocaml-modules/iter { };