tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.ocp-indent: remove at 1.5.2
Vincent Laporte
7 years ago
ed1bbae4
06158033
-38
2 changed files
expand all
collapse all
unified
split
pkgs
development
tools
ocaml
ocp-indent
1.5.2.nix
top-level
ocaml-packages.nix
-37
pkgs/development/tools/ocaml/ocp-indent/1.5.2.nix
···
1
-
{ stdenv, fetchzip, ocaml, findlib, ocp-build, cmdliner }:
2
-
3
-
let inherit (stdenv.lib) getVersion versionAtLeast; in
4
-
5
-
assert versionAtLeast (getVersion ocaml) "3.12.1";
6
-
assert versionAtLeast (getVersion ocp-build) "1.99.6-beta";
7
-
assert versionAtLeast "0.9.8" (getVersion cmdliner);
8
-
9
-
stdenv.mkDerivation {
10
-
11
-
name = "ocp-indent-1.5.2";
12
-
13
-
src = fetchzip {
14
-
url = "https://github.com/OCamlPro/ocp-indent/archive/1.5.2.tar.gz";
15
-
sha256 = "0ynv2yhm7akpvqp72pdabhddwr352s1k85q8m1khsvspgg1mkiqz";
16
-
};
17
-
18
-
nativeBuildInputs = [ ocp-build ];
19
-
20
-
buildInputs = [ ocaml findlib cmdliner ];
21
-
22
-
createFindlibDestdir = true;
23
-
24
-
preConfigure = "patchShebangs ./install.sh";
25
-
26
-
postInstall = ''
27
-
mv $out/lib/{ocp-indent,ocaml/${getVersion ocaml}/site-lib/}
28
-
'';
29
-
30
-
meta = with stdenv.lib; {
31
-
homepage = http://typerex.ocamlpro.com/ocp-indent.html;
32
-
description = "A customizable tool to indent OCaml code";
33
-
license = licenses.gpl3;
34
-
platforms = ocaml.meta.platforms or [];
35
-
maintainers = [ maintainers.jirkamarsik ];
36
-
};
37
-
}
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-1
pkgs/top-level/ocaml-packages.nix
···
497
ocp-build = callPackage ../development/tools/ocaml/ocp-build { };
498
499
ocp-indent = callPackage ../development/tools/ocaml/ocp-indent { };
500
-
ocp-indent_1_5_2 = callPackage ../development/tools/ocaml/ocp-indent/1.5.2.nix { cmdliner = cmdliner_0_9; };
501
502
ocp-index = callPackage ../development/tools/ocaml/ocp-index { };
503
···
497
ocp-build = callPackage ../development/tools/ocaml/ocp-build { };
498
499
ocp-indent = callPackage ../development/tools/ocaml/ocp-indent { };
0
500
501
ocp-index = callPackage ../development/tools/ocaml/ocp-index { };
502