tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.alcotest: 0.4.5 -> 0.7.2
Vincent Laporte
9 years ago
dd45d255
66b9602a
+12
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
alcotest
default.nix
+12
-6
pkgs/development/ocaml-modules/alcotest/default.nix
···
1
-
{ stdenv, buildOcaml, fetchzip, cmdliner, stringext }:
2
3
-
buildOcaml rec {
4
-
name = "alcotest";
5
-
version = "0.4.5";
6
7
src = fetchzip {
8
url = "https://github.com/mirage/alcotest/archive/${version}.tar.gz";
9
-
sha256 = "1wcn9hkjf4cbnrz99w940qfjpi0lvd8v63yxwpnafkff871dwk6k";
10
};
11
12
-
propagatedBuildInputs = [ cmdliner stringext ];
0
0
0
0
0
0
13
14
meta = with stdenv.lib; {
15
homepage = https://github.com/mirage/alcotest;
···
1
+
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, topkg, opam, cmdliner, astring, fmt, result }:
2
3
+
stdenv.mkDerivation rec {
4
+
name = "ocaml${ocaml.version}-alcotest-${version}";
5
+
version = "0.7.2";
6
7
src = fetchzip {
8
url = "https://github.com/mirage/alcotest/archive/${version}.tar.gz";
9
+
sha256 = "1qgsz2zz5ky6s5pf3j3shc4fjc36rqnjflk8x0wl1fcpvvkr52md";
10
};
11
12
+
buildInputs = [ ocaml findlib ocamlbuild opam topkg ];
13
+
14
+
propagatedBuildInputs = [ cmdliner astring fmt result ];
15
+
16
+
inherit (topkg) buildPhase installPhase;
17
+
18
+
createFindlibDestdir = true;
19
20
meta = with stdenv.lib; {
21
homepage = https://github.com/mirage/alcotest;