diff options
author | romildo <malaquias@gmail.com> | 2017-05-28 17:39:21 -0300 |
---|---|---|
committer | romildo <malaquias@gmail.com> | 2017-05-28 17:39:21 -0300 |
commit | 97b3def8cf2caf0d35edfae2b7f157541ea346f2 (patch) | |
tree | 19e658a2bf8529ebf53fd0ead235ef60be77627f /pkgs | |
parent | 56a4aaf4dfec8c189eca907f2815d29b77dcc6d5 (diff) | |
download | nixlib-97b3def8cf2caf0d35edfae2b7f157541ea346f2.tar nixlib-97b3def8cf2caf0d35edfae2b7f157541ea346f2.tar.gz nixlib-97b3def8cf2caf0d35edfae2b7f157541ea346f2.tar.bz2 nixlib-97b3def8cf2caf0d35edfae2b7f157541ea346f2.tar.lz nixlib-97b3def8cf2caf0d35edfae2b7f157541ea346f2.tar.xz nixlib-97b3def8cf2caf0d35edfae2b7f157541ea346f2.tar.zst nixlib-97b3def8cf2caf0d35edfae2b7f157541ea346f2.zip |
ocp-indent: 1.5.2 -> 1.6.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/ocaml/ocp-indent/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/tools/ocaml/ocp-indent/default.nix b/pkgs/development/tools/ocaml/ocp-indent/default.nix index d146dd5e9731..500002bed444 100644 --- a/pkgs/development/tools/ocaml/ocp-indent/default.nix +++ b/pkgs/development/tools/ocaml/ocp-indent/default.nix @@ -3,18 +3,21 @@ let inherit (stdenv.lib) getVersion versionAtLeast; in assert versionAtLeast (getVersion ocaml) "3.12.1"; +assert versionAtLeast (getVersion cmdliner) "1.0.0"; 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 { - url = "https://github.com/OCamlPro/ocp-indent/archive/1.5.2.tar.gz"; - sha256 = "0ynv2yhm7akpvqp72pdabhddwr352s1k85q8m1khsvspgg1mkiqz"; + url = "https://github.com/OCamlPro/ocp-indent/archive/${version}.tar.gz"; + sha256 = "1h9y597s3ag8w1z32zzv4dfk3ppq557s55bnlfw5a5wqwvia911f"; }; - buildInputs = [ ocaml findlib ocpBuild opam cmdliner ]; + nativeBuildInputs = [ ocpBuild opam ]; + buildInputs = [ ocaml findlib cmdliner ]; createFindlibDestdir = true; |