forked from mirrors/nixpkgs
ocamlPackages.ocp-indent: remove at 1.5.2
This commit is contained in:
parent
06158033f2
commit
ed1bbae4db
|
@ -1,37 +0,0 @@
|
|||
{ stdenv, fetchzip, ocaml, findlib, ocp-build, cmdliner }:
|
||||
|
||||
let inherit (stdenv.lib) getVersion versionAtLeast; in
|
||||
|
||||
assert versionAtLeast (getVersion ocaml) "3.12.1";
|
||||
assert versionAtLeast (getVersion ocp-build) "1.99.6-beta";
|
||||
assert versionAtLeast "0.9.8" (getVersion cmdliner);
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "ocp-indent-1.5.2";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/OCamlPro/ocp-indent/archive/1.5.2.tar.gz";
|
||||
sha256 = "0ynv2yhm7akpvqp72pdabhddwr352s1k85q8m1khsvspgg1mkiqz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocp-build ];
|
||||
|
||||
buildInputs = [ ocaml findlib cmdliner ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
preConfigure = "patchShebangs ./install.sh";
|
||||
|
||||
postInstall = ''
|
||||
mv $out/lib/{ocp-indent,ocaml/${getVersion ocaml}/site-lib/}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://typerex.ocamlpro.com/ocp-indent.html;
|
||||
description = "A customizable tool to indent OCaml code";
|
||||
license = licenses.gpl3;
|
||||
platforms = ocaml.meta.platforms or [];
|
||||
maintainers = [ maintainers.jirkamarsik ];
|
||||
};
|
||||
}
|
|
@ -497,7 +497,6 @@ let
|
|||
ocp-build = callPackage ../development/tools/ocaml/ocp-build { };
|
||||
|
||||
ocp-indent = callPackage ../development/tools/ocaml/ocp-indent { };
|
||||
ocp-indent_1_5_2 = callPackage ../development/tools/ocaml/ocp-indent/1.5.2.nix { cmdliner = cmdliner_0_9; };
|
||||
|
||||
ocp-index = callPackage ../development/tools/ocaml/ocp-index { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue