tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.git: 1.11.4 -> 1.11.5
Also enable tests
Vincent Laporte
7 years ago
d8ebe4f2
301f14e9
+14
-5
2 changed files
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
git
default.nix
git-http
default.nix
+7
-2
pkgs/development/ocaml-modules/git-http/default.nix
···
1
1
-
{ stdenv, ocaml, findlib, jbuilder, git, cohttp-lwt }:
1
1
+
{ stdenv, ocaml, findlib, jbuilder, git, cohttp-lwt
2
2
+
, alcotest, mtime, nocrypto
3
3
+
}:
2
4
3
5
stdenv.mkDerivation rec {
4
6
name = "ocaml${ocaml.version}-git-http-${version}";
5
7
inherit (git) version src;
6
8
7
7
-
buildInputs = [ ocaml findlib jbuilder ];
9
9
+
buildInputs = [ ocaml findlib jbuilder alcotest mtime nocrypto ];
8
10
9
11
propagatedBuildInputs = [ git cohttp-lwt ];
10
12
11
13
buildPhase = "jbuilder build -p git-http";
12
14
13
15
inherit (jbuilder) installPhase;
16
16
+
17
17
+
doCheck = true;
18
18
+
checkPhase = "jbuilder runtest -p git-http";
14
19
15
20
meta = {
16
21
description = "Client implementation of the “Smart” HTTP Git protocol in pure OCaml";
+7
-3
pkgs/development/ocaml-modules/git/default.nix
···
1
1
{ stdenv, fetchFromGitHub, ocaml, findlib, jbuilder, opam
2
2
, astring, decompress, fmt, hex, logs, mstruct, ocaml_lwt, ocamlgraph, uri
3
3
+
, alcotest, mtime, nocrypto
3
4
}:
4
5
5
6
stdenv.mkDerivation rec {
6
6
-
version = "1.11.4";
7
7
+
version = "1.11.5";
7
8
name = "ocaml${ocaml.version}-git-${version}";
8
9
9
10
src = fetchFromGitHub {
10
11
owner = "mirage";
11
12
repo = "ocaml-git";
12
13
rev = version;
13
13
-
sha256 = "182b6shcfcq50r5snm01hwalnmck43x1xgdd4fvjb6q78pbwag2x";
14
14
+
sha256 = "0r1bxpxjjnl9hh8xbabsxl7svzvd19hfy73a2y1m4kljmw64dpfh";
14
15
};
15
16
16
16
-
buildInputs = [ ocaml findlib jbuilder ];
17
17
+
buildInputs = [ ocaml findlib jbuilder alcotest mtime nocrypto ];
17
18
18
19
propagatedBuildInputs = [ astring decompress fmt hex logs mstruct ocaml_lwt ocamlgraph uri ];
19
20
20
21
buildPhase = "jbuilder build -p git";
21
22
22
23
inherit (jbuilder) installPhase;
24
24
+
25
25
+
doCheck = true;
26
26
+
checkPhase = "jbuilder runtest -p git";
23
27
24
28
meta = {
25
29
description = "Git format and protocol in pure OCaml";