ocamlPackages.git: 1.11.4 -> 1.11.5

Also enable tests
This commit is contained in:
Vincent Laporte
2018-05-03 18:37:47 +00:00
parent 301f14e993
commit d8ebe4f2cf
2 changed files with 14 additions and 5 deletions

View File

@@ -1,10 +1,12 @@
{ stdenv, ocaml, findlib, jbuilder, git, cohttp-lwt }:
{ stdenv, ocaml, findlib, jbuilder, git, cohttp-lwt
, alcotest, mtime, nocrypto
}:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-git-http-${version}";
inherit (git) version src;
buildInputs = [ ocaml findlib jbuilder ];
buildInputs = [ ocaml findlib jbuilder alcotest mtime nocrypto ];
propagatedBuildInputs = [ git cohttp-lwt ];
@@ -12,6 +14,9 @@ stdenv.mkDerivation rec {
inherit (jbuilder) installPhase;
doCheck = true;
checkPhase = "jbuilder runtest -p git-http";
meta = {
description = "Client implementation of the Smart HTTP Git protocol in pure OCaml";
inherit (git.meta) homepage license maintainers platforms;