ocamlPackages.irmin-http: init at 2.0.0

This commit is contained in:
Vincent Laporte 2019-12-09 10:29:18 +00:00
parent 45d3c40cc4
commit 191f1c9a49
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, 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";
};
}

View file

@ -374,6 +374,8 @@ let
irmin-git = callPackage ../development/ocaml-modules/irmin/git.nix { };
irmin-http = callPackage ../development/ocaml-modules/irmin/http.nix { };
irmin-mem = callPackage ../development/ocaml-modules/irmin/mem.nix { };
irmin-test = callPackage ../development/ocaml-modules/irmin/test.nix { };