diff options
author | Profpatsch <mail@profpatsch.de> | 2021-01-11 08:54:33 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-01-11 10:38:22 +0100 |
commit | 4a7f99d55d299453a9c2397f90b33d1120669775 (patch) | |
tree | 9fca8e9c9970d0a00ce56dfe11b63ae76b00cf01 /pkgs/applications/editors/eclipse | |
parent | e87aef06e00c42b26789321454d7bd609548cc12 (diff) | |
download | nixlib-4a7f99d55d299453a9c2397f90b33d1120669775.tar nixlib-4a7f99d55d299453a9c2397f90b33d1120669775.tar.gz nixlib-4a7f99d55d299453a9c2397f90b33d1120669775.tar.bz2 nixlib-4a7f99d55d299453a9c2397f90b33d1120669775.tar.lz nixlib-4a7f99d55d299453a9c2397f90b33d1120669775.tar.xz nixlib-4a7f99d55d299453a9c2397f90b33d1120669775.tar.zst nixlib-4a7f99d55d299453a9c2397f90b33d1120669775.zip |
treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
Diffstat (limited to 'pkgs/applications/editors/eclipse')
-rw-r--r-- | pkgs/applications/editors/eclipse/plugins.nix | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/pkgs/applications/editors/eclipse/plugins.nix b/pkgs/applications/editors/eclipse/plugins.nix index 04b8a1de159a..000129f74dff 100644 --- a/pkgs/applications/editors/eclipse/plugins.nix +++ b/pkgs/applications/editors/eclipse/plugins.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, fetchzip, unzip }: +{ lib, stdenv, fetchurl, fetchzip, unzip }: rec { @@ -105,7 +105,7 @@ rec { sha256 = "1cn64xj2bm69vnn9db2xxh6kq148v83w5nx3183mrqb59ym3v9kf"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/tobiasmelcher/EclipseAceJump"; description = "Provides fast jumps to text based on initial letter"; license = licenses.mit; @@ -128,7 +128,7 @@ rec { sha256 = "1j42l0xxzs89shqkyn91lb0gia10mifzy0i73c3n7gj7sv2ddbjq"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://mihai-nita.net/java/#ePluginAEC"; description = "Adds support for ANSI escape sequences in the Eclipse console"; license = licenses.asl20; @@ -151,7 +151,7 @@ rec { cp -v $src $dropinDir/${name}.jar ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A powerful parser generator for processing structured text or binary files"; homepage = "https://www.antlr.org/"; license = licenses.bsd3; @@ -174,7 +174,7 @@ rec { cp -v $src $dropinDir/${name}.jar ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A powerful parser generator for processing structured text or binary files"; homepage = "https://www.antlr.org/"; license = licenses.bsd3; @@ -197,7 +197,7 @@ rec { sha256 = "03iyb6j2srq74iigmg7dk098c2svyv0ygdfql5jqr44a32n07k8q"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://andrei.gmxhome.de/anyedit/"; description = "Adds new tools to the context menu of text-based editors"; license = licenses.epl10; @@ -220,7 +220,7 @@ rec { sha256 = "1n2rzybfcwp3ss2qi0fhd8vm38vdwav8j837lqiqlfcnvzwsk86m"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/cypher256/eclipse-encoding-plugin"; description = "Show file encoding and line ending for the active editor in the eclipse status bar"; license = licenses.epl10; @@ -243,7 +243,7 @@ rec { sha256 = "1vmsqv32jfl7anvdkw0vir342miv5sr9df7vd1w44lf1yf97vxlw"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://andrei.gmxhome.de/bytecode/"; description = "Shows disassembled bytecode of current java editor or class file"; license = licenses.bsd2; @@ -263,7 +263,7 @@ rec { sha256 = "1hbswcar3a5cw20mwrj82w9pvpkvvj6jrvqqf1lincva0r5sl7h8"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://eclipse.org/cdt/"; description = "C/C++ development tooling"; license = licenses.epl10; @@ -282,7 +282,7 @@ rec { sha256 = "07fymk705x4mwq7vh2i6frsf67jql4bzrkdzhb4n74zb0g1dib60"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://eclipse-cs.sourceforge.net/"; description = "Checkstyle integration into the Eclipse IDE"; license = licenses.lgpl21; @@ -306,7 +306,7 @@ rec { sha256 = "0wz61909bhqwzpqwll27ia0cn3anyp81haqx3rj1iq42cbl42h0y"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://eclipsecolorthemes.org/"; description = "Plugin to switch color themes conveniently and without side effects"; license = licenses.epl10; @@ -339,7 +339,7 @@ rec { propagatedBuildInputs = [ zest ]; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://www2.cs.tum.edu/projects/cup/eclipse.php"; description = "IDE for developing CUP based parsers"; platforms = platforms.all; @@ -364,7 +364,7 @@ rec { ''; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.drools.org/"; description = "Drools is a Business Rules Management System (BRMS) solution"; license = licenses.asl20; @@ -381,7 +381,7 @@ rec { sha256 = "0w1kwcjh45p7msv5vpc8i6dsqwrnfmjama6vavpnxlji56jd3c43"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.eclemma.org/"; description = "EclEmma is a free Java code coverage tool for Eclipse"; license = licenses.epl10; @@ -404,7 +404,7 @@ rec { sha256 = "10p3mrbp9wi6jhlmmc23qv7frh605a23pqsc7w96569bsfb5wa8q"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://findbugs.sourceforge.net/"; description = "Plugin that uses static analysis to look for bugs in Java code"; license = licenses.epl10; @@ -423,7 +423,7 @@ rec { sha256 = "1g77jlhfa3csaxxps1z5lasrd9l2p5ajnddnq9ra5syw8ggkdc2h"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://gnuarmeclipse.livius.net/"; description = "GNU ARM Eclipse Plug-ins"; license = licenses.epl10; @@ -461,7 +461,7 @@ rec { propagatedBuildInputs = [ antlr-runtime_4_7 ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Adds support for JSON files to Eclipse"; homepage = "https://github.com/boothen/Json-Eclipse-Plugin"; license = licenses.epl10; @@ -480,7 +480,7 @@ rec { sha256 = "q0O6OE2u0bdz1+nOkzXDrrOOzoEbVaXnejx4lX7uZgk="; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.eclipse.org/jdt/"; description = "Eclipse Java development tools"; license = licenses.epl10; @@ -503,7 +503,7 @@ rec { sha256 = "0qdzlqcjcm2i4mwhmcdml0am83z1dayrcmf37ji7vmw6iwdk1xmp"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/angelozerr/jdt-codemining"; description = "Provides JDT Java CodeMining"; license = licenses.epl10; @@ -529,7 +529,7 @@ rec { ''; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/RustDT"; description = "Rust development tooling"; license = licenses.epl10; @@ -546,7 +546,7 @@ rec { sha256 = "13xgx2rwlll0l4bs0g6gyvrx5gcc0125vzn501fdj0wv2fqxn5lw"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://scala-ide.org/"; description = "The Scala IDE for Eclipse"; license = licenses.bsd3; @@ -565,7 +565,7 @@ rec { sha256 = "0aanqwx3gy1arpbkqd846381hiy6272lzwhfjl94x8jhfykpqqbj"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://spotbugs.github.io/"; description = "Plugin that uses static analysis to look for bugs in Java code"; license = licenses.lgpl21; @@ -588,7 +588,7 @@ rec { sha256 = "1j4zw6392q3q6z3pcy803k3g0p220gk1x19fs99p0rmmdz83lc8d"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://testng.org/doc/"; description = "Eclipse plugin for the TestNG testing framework"; license = licenses.asl20; @@ -610,7 +610,7 @@ rec { sha256 = "0nyirf6km97q211cxfy01kidxac20m8ba3kk9xj73ykrhsk3cxjp"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/vrapper/vrapper"; description = "A wrapper to provide a Vim-like input scheme for moving around and editing text"; license = licenses.gpl3; @@ -633,7 +633,7 @@ rec { sha256 = "1wpyw4z28ka60z36f8m71kz1giajcm26wb9bpv18sjiqwdgx9v0z"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/oyse/yedit"; description = "A YAML editor plugin for Eclipse"; license = licenses.epl10; @@ -651,7 +651,7 @@ rec { sha256 = "01scn7cmcrjcp387spjm8ifgwrwwi77ypildandbisfvhj3qqs7m"; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.eclipse.org/gef/zest/"; description = "The Eclipse Visualization Toolkit"; platforms = platforms.all; |