ocp-indent: 1.5.2 -> 1.6.0

This commit is contained in:
romildo 2017-05-28 17:39:21 -03:00
parent 56a4aaf4df
commit 97b3def8cf

View File

@ -3,18 +3,21 @@
let inherit (stdenv.lib) getVersion versionAtLeast; in let inherit (stdenv.lib) getVersion versionAtLeast; in
assert versionAtLeast (getVersion ocaml) "3.12.1"; assert versionAtLeast (getVersion ocaml) "3.12.1";
assert versionAtLeast (getVersion cmdliner) "1.0.0";
assert versionAtLeast (getVersion ocpBuild) "1.99.6-beta"; assert versionAtLeast (getVersion ocpBuild) "1.99.6-beta";
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "ocp-indent-1.5.2"; name = "ocp-indent-${version}";
version = "1.6.0";
src = fetchzip { src = fetchzip {
url = "https://github.com/OCamlPro/ocp-indent/archive/1.5.2.tar.gz"; url = "https://github.com/OCamlPro/ocp-indent/archive/${version}.tar.gz";
sha256 = "0ynv2yhm7akpvqp72pdabhddwr352s1k85q8m1khsvspgg1mkiqz"; sha256 = "1h9y597s3ag8w1z32zzv4dfk3ppq557s55bnlfw5a5wqwvia911f";
}; };
buildInputs = [ ocaml findlib ocpBuild opam cmdliner ]; nativeBuildInputs = [ ocpBuild opam ];
buildInputs = [ ocaml findlib cmdliner ];
createFindlibDestdir = true; createFindlibDestdir = true;