ocamlPackages.{camlpdf,cpdf}: 2.1.1 -> 2.2.1

+6 -8
+3 -3
pkgs/development/ocaml-modules/camlpdf/default.nix
··· 1 1 { stdenv, fetchgit, ocaml, findlib, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "2.1.1"; 5 - name = "ocaml-camlpdf-${version}"; 4 + version = "2.2.1"; 5 + name = "ocaml${ocaml.version}-camlpdf-${version}"; 6 6 src = fetchgit { 7 7 url = https://github.com/johnwhitington/camlpdf.git; 8 8 rev = "refs/tags/v${version}"; 9 - sha256 = "118656hc3zv5nwmbhr6llvb7q2pbxk2hz95bv8x4879a9qsnb4xr"; 9 + sha256 = "0wa4rw8ccpb8xprslg88hbk352bi8bia4iffc22y55gkjr60f8gj"; 10 10 }; 11 11 12 12 buildInputs = [ ocaml findlib ncurses ];
+3 -5
pkgs/development/ocaml-modules/cpdf/default.nix
··· 1 1 { stdenv, fetchgit, ocaml, findlib, camlpdf, ncurses }: 2 2 3 - assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.0"; 4 - 5 - let version = "2.1.1"; in 3 + let version = "2.2.1"; in 6 4 7 5 stdenv.mkDerivation { 8 - name = "ocaml-cpdf-${version}"; 6 + name = "ocaml${ocaml.version}-cpdf-${version}"; 9 7 10 8 src = fetchgit { 11 9 url = https://github.com/johnwhitington/cpdf-source.git; 12 10 rev = "refs/tags/v${version}"; 13 - sha256 = "01dq7z3admwnyp22z1h43a8f3glii3zxc9c7i6s2rgza3pd9jq4k"; 11 + sha256 = "1i2z417agnzzdavjfwb20r6716jl3sk5yi43ssy4jqzy6ah8x1ff"; 14 12 }; 15 13 16 14 buildInputs = [ ocaml findlib ncurses ];