tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.{camlpdf,cpdf}: 2.1.1 -> 2.2.1
Vincent Laporte
9 years ago
18a5e152
c0f3b8d6
+6
-8
2 changed files
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
camlpdf
default.nix
cpdf
default.nix
+3
-3
pkgs/development/ocaml-modules/camlpdf/default.nix
···
1
{ stdenv, fetchgit, ocaml, findlib, ncurses }:
2
3
stdenv.mkDerivation rec {
4
-
version = "2.1.1";
5
-
name = "ocaml-camlpdf-${version}";
6
src = fetchgit {
7
url = https://github.com/johnwhitington/camlpdf.git;
8
rev = "refs/tags/v${version}";
9
-
sha256 = "118656hc3zv5nwmbhr6llvb7q2pbxk2hz95bv8x4879a9qsnb4xr";
10
};
11
12
buildInputs = [ ocaml findlib ncurses ];
···
1
{ stdenv, fetchgit, ocaml, findlib, ncurses }:
2
3
stdenv.mkDerivation rec {
4
+
version = "2.2.1";
5
+
name = "ocaml${ocaml.version}-camlpdf-${version}";
6
src = fetchgit {
7
url = https://github.com/johnwhitington/camlpdf.git;
8
rev = "refs/tags/v${version}";
9
+
sha256 = "0wa4rw8ccpb8xprslg88hbk352bi8bia4iffc22y55gkjr60f8gj";
10
};
11
12
buildInputs = [ ocaml findlib ncurses ];
+3
-5
pkgs/development/ocaml-modules/cpdf/default.nix
···
1
{ stdenv, fetchgit, ocaml, findlib, camlpdf, ncurses }:
2
3
-
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.0";
4
-
5
-
let version = "2.1.1"; in
6
7
stdenv.mkDerivation {
8
-
name = "ocaml-cpdf-${version}";
9
10
src = fetchgit {
11
url = https://github.com/johnwhitington/cpdf-source.git;
12
rev = "refs/tags/v${version}";
13
-
sha256 = "01dq7z3admwnyp22z1h43a8f3glii3zxc9c7i6s2rgza3pd9jq4k";
14
};
15
16
buildInputs = [ ocaml findlib ncurses ];
···
1
{ stdenv, fetchgit, ocaml, findlib, camlpdf, ncurses }:
2
3
+
let version = "2.2.1"; in
0
0
4
5
stdenv.mkDerivation {
6
+
name = "ocaml${ocaml.version}-cpdf-${version}";
7
8
src = fetchgit {
9
url = https://github.com/johnwhitington/cpdf-source.git;
10
rev = "refs/tags/v${version}";
11
+
sha256 = "1i2z417agnzzdavjfwb20r6716jl3sk5yi43ssy4jqzy6ah8x1ff";
12
};
13
14
buildInputs = [ ocaml findlib ncurses ];