ocamlPackages.irmin: init at 1.4.0 (#74818)

This commit is contained in:
Alexandre Esteves 2019-12-24 12:44:13 +00:00 committed by Vincent Laporte
parent 477f4460f8
commit c7a9cb04fd
2 changed files with 28 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -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 { };