forked from mirrors/nixpkgs
ocamlPackages.{camlpdf,cpdf}: 2.1.1 -> 2.2.1
This commit is contained in:
parent
c0f3b8d629
commit
18a5e1522c
|
@ -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 ];
|
||||
|
|
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue