ocamlPackages.git: 1.11.4 -> 1.11.5

Also enable tests

+14 -5
+7 -2
pkgs/development/ocaml-modules/git-http/default.nix
··· 1 - { stdenv, ocaml, findlib, jbuilder, git, cohttp-lwt }: 2 3 stdenv.mkDerivation rec { 4 name = "ocaml${ocaml.version}-git-http-${version}"; 5 inherit (git) version src; 6 7 - buildInputs = [ ocaml findlib jbuilder ]; 8 9 propagatedBuildInputs = [ git cohttp-lwt ]; 10 11 buildPhase = "jbuilder build -p git-http"; 12 13 inherit (jbuilder) installPhase; 14 15 meta = { 16 description = "Client implementation of the “Smart” HTTP Git protocol in pure OCaml";
··· 1 + { stdenv, ocaml, findlib, jbuilder, git, cohttp-lwt 2 + , alcotest, mtime, nocrypto 3 + }: 4 5 stdenv.mkDerivation rec { 6 name = "ocaml${ocaml.version}-git-http-${version}"; 7 inherit (git) version src; 8 9 + buildInputs = [ ocaml findlib jbuilder alcotest mtime nocrypto ]; 10 11 propagatedBuildInputs = [ git cohttp-lwt ]; 12 13 buildPhase = "jbuilder build -p git-http"; 14 15 inherit (jbuilder) installPhase; 16 + 17 + doCheck = true; 18 + checkPhase = "jbuilder runtest -p git-http"; 19 20 meta = { 21 description = "Client implementation of the “Smart” HTTP Git protocol in pure OCaml";
+7 -3
pkgs/development/ocaml-modules/git/default.nix
··· 1 { stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, opam 2 , astring, decompress, fmt, hex, logs, mstruct, ocaml_lwt, ocamlgraph, uri 3 }: 4 5 stdenv.mkDerivation rec { 6 - version = "1.11.4"; 7 name = "ocaml${ocaml.version}-git-${version}"; 8 9 src = fetchFromGitHub { 10 owner = "mirage"; 11 repo = "ocaml-git"; 12 rev = version; 13 - sha256 = "182b6shcfcq50r5snm01hwalnmck43x1xgdd4fvjb6q78pbwag2x"; 14 }; 15 16 - buildInputs = [ ocaml findlib jbuilder ]; 17 18 propagatedBuildInputs = [ astring decompress fmt hex logs mstruct ocaml_lwt ocamlgraph uri ]; 19 20 buildPhase = "jbuilder build -p git"; 21 22 inherit (jbuilder) installPhase; 23 24 meta = { 25 description = "Git format and protocol in pure OCaml";
··· 1 { stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, opam 2 , astring, decompress, fmt, hex, logs, mstruct, ocaml_lwt, ocamlgraph, uri 3 + , alcotest, mtime, nocrypto 4 }: 5 6 stdenv.mkDerivation rec { 7 + version = "1.11.5"; 8 name = "ocaml${ocaml.version}-git-${version}"; 9 10 src = fetchFromGitHub { 11 owner = "mirage"; 12 repo = "ocaml-git"; 13 rev = version; 14 + sha256 = "0r1bxpxjjnl9hh8xbabsxl7svzvd19hfy73a2y1m4kljmw64dpfh"; 15 }; 16 17 + buildInputs = [ ocaml findlib jbuilder alcotest mtime nocrypto ]; 18 19 propagatedBuildInputs = [ astring decompress fmt hex logs mstruct ocaml_lwt ocamlgraph uri ]; 20 21 buildPhase = "jbuilder build -p git"; 22 23 inherit (jbuilder) installPhase; 24 + 25 + doCheck = true; 26 + checkPhase = "jbuilder runtest -p git"; 27 28 meta = { 29 description = "Git format and protocol in pure OCaml";