Skip to content

Commit

Permalink
ocamlPackages.{camlpdf,cpdf}: 2.1.1 -> 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Jan 20, 2017
1 parent c0f3b8d commit 18a5e15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/ocaml-modules/camlpdf/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchgit, ocaml, findlib, ncurses }:

stdenv.mkDerivation rec {
version = "2.1.1";
name = "ocaml-camlpdf-${version}";
version = "2.2.1";
name = "ocaml${ocaml.version}-camlpdf-${version}";
src = fetchgit {
url = https://github.com/johnwhitington/camlpdf.git;
rev = "refs/tags/v${version}";
sha256 = "118656hc3zv5nwmbhr6llvb7q2pbxk2hz95bv8x4879a9qsnb4xr";
sha256 = "0wa4rw8ccpb8xprslg88hbk352bi8bia4iffc22y55gkjr60f8gj";
};

buildInputs = [ ocaml findlib ncurses ];
Expand Down
8 changes: 3 additions & 5 deletions pkgs/development/ocaml-modules/cpdf/default.nix
@@ -1,16 +1,14 @@
{ stdenv, fetchgit, ocaml, findlib, camlpdf, ncurses }:

assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.0";

let version = "2.1.1"; in
let version = "2.2.1"; in

stdenv.mkDerivation {
name = "ocaml-cpdf-${version}";
name = "ocaml${ocaml.version}-cpdf-${version}";

src = fetchgit {
url = https://github.com/johnwhitington/cpdf-source.git;
rev = "refs/tags/v${version}";
sha256 = "01dq7z3admwnyp22z1h43a8f3glii3zxc9c7i6s2rgza3pd9jq4k";
sha256 = "1i2z417agnzzdavjfwb20r6716jl3sk5yi43ssy4jqzy6ah8x1ff";
};

buildInputs = [ ocaml findlib ncurses ];
Expand Down

0 comments on commit 18a5e15

Please sign in to comment.