git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.cpdf: 2.3 → 2.3.1
commit02ee8250186f0489bf86b036581a63c38afd54db authorVincent Laporte <Vincent.Laporte@gmail.com> dateThu 20 Aug 2020, 07:17 (6 years ago) parent0e9e109
1 file changed+6−2
pkgs/development/ocaml-modules/cpdf/default.nix+6−2
pkgs/development/ocaml-modules/cpdf/default.nix+6−2
@@ -1,6 +1,6 @@
11{ stdenv, fetchFromGitHub, ocaml, findlib, camlpdf, ncurses }:
22
3−let version = "2.3"; in
3+let version = "2.3.1"; in
44
55stdenv.mkDerivation {
66 name = "ocaml${ocaml.version}-cpdf-${version}";
@@ -9,9 +9,13 @@ stdenv.mkDerivation {
99 owner = "johnwhitington";
1010 repo = "cpdf-source";
1111 rev = "v${version}";
12− sha256 = "0i976y1v0l7x7k2n8k6v0h4bw9zlxsv04y4fdxss6dzpsfz49w23";
12+ sha256 = "1gwz0iy28f67kbqap2q10nf98dalwbi03vv5j893z2an7pb4w68z";
1313 };
1414
15+ prePatch = ''
16+ substituteInPlace META --replace 'version="1.7"' 'version="${version}"'
17+ '';
18+
1519 buildInputs = [ ocaml findlib ncurses ];
1620 propagatedBuildInputs = [ camlpdf ];
1721