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 | |
parent | e87aef06e00c42b26789321454d7bd609548cc12 (diff) | |
download | nixpkgs-4a7f99d55d299453a9c2397f90b33d1120669775.tar nixpkgs-4a7f99d55d299453a9c2397f90b33d1120669775.tar.gz nixpkgs-4a7f99d55d299453a9c2397f90b33d1120669775.tar.bz2 nixpkgs-4a7f99d55d299453a9c2397f90b33d1120669775.tar.lz nixpkgs-4a7f99d55d299453a9c2397f90b33d1120669775.tar.xz nixpkgs-4a7f99d55d299453a9c2397f90b33d1120669775.tar.zst nixpkgs-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')
85 files changed, 195 insertions, 194 deletions
diff --git a/pkgs/applications/editors/amp/default.nix b/pkgs/applications/editors/amp/default.nix index 9be6d56ab34..54b3c646e25 100644 --- a/pkgs/applications/editors/amp/default.nix +++ b/pkgs/applications/editors/amp/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, rustPlatform, openssl, pkgconfig, python3, xorg, cmake, libgit2, darwin +{ lib, stdenv, fetchFromGitHub, rustPlatform, openssl, pkgconfig, python3, xorg, cmake, libgit2, darwin , curl }: rustPlatform.buildRustPackage rec { @@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec { # Tests need to write to the theme directory in HOME. preCheck = "export HOME=`mktemp -d`"; - meta = with stdenv.lib; { + meta = with lib; { description = "A modern text editor inspired by Vim"; homepage = "https://amp.rs"; license = [ licenses.gpl3 ]; diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix index cbd156d78e0..d8f2d86daee 100644 --- a/pkgs/applications/editors/android-studio/common.nix +++ b/pkgs/applications/editors/android-studio/common.nix @@ -41,6 +41,7 @@ , pkgsi686Linux , ps , setxkbmap +, lib , stdenv , systemd , unzip @@ -182,7 +183,7 @@ in runCommand passthru = { unwrapped = androidStudio; }; - meta = with stdenv.lib; { + meta = with lib; { description = "The Official IDE for Android (${channel} channel)"; longDescription = '' Android Studio is the official IDE for Android app development, based on diff --git a/pkgs/applications/editors/apostrophe/default.nix b/pkgs/applications/editors/apostrophe/default.nix index b3902293718..cb8e9b7e3bb 100644 --- a/pkgs/applications/editors/apostrophe/default.nix +++ b/pkgs/applications/editors/apostrophe/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitLab, meson, ninja, cmake +{ lib, stdenv, fetchFromGitLab, meson, ninja, cmake , wrapGAppsHook, pkgconfig, desktop-file-utils , appstream-glib, pythonPackages, glib, gobject-introspection , gtk3, webkitgtk, glib-networking, gnome3, gspell, texlive @@ -46,7 +46,7 @@ in stdenv.mkDerivation rec { ) ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://gitlab.gnome.org/somas/apostrophe"; description = "A distraction free Markdown editor for GNU/Linux"; license = licenses.gpl3; diff --git a/pkgs/applications/editors/atom/default.nix b/pkgs/applications/editors/atom/default.nix index 35640965c6f..9d1d8d4113c 100644 --- a/pkgs/applications/editors/atom/default.nix +++ b/pkgs/applications/editors/atom/default.nix @@ -1,4 +1,4 @@ -{ stdenv, pkgs, fetchurl, wrapGAppsHook, gvfs, gtk3, atomEnv }: +{ lib, stdenv, pkgs, fetchurl, wrapGAppsHook, gvfs, gtk3, atomEnv }: let versions = { @@ -81,7 +81,7 @@ let sed -i -e "s|Exec=.*$|Exec=$out/bin/${pname}|" $out/share/applications/${pname}.desktop ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A hackable text editor for the 21st Century"; homepage = "https://atom.io/"; license = licenses.mit; diff --git a/pkgs/applications/editors/bless/default.nix b/pkgs/applications/editors/bless/default.nix index b3c3caae4e4..ab5f2ccc104 100644 --- a/pkgs/applications/editors/bless/default.nix +++ b/pkgs/applications/editors/bless/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , fetchFromGitHub , autoreconfHook , pkgconfig @@ -69,7 +69,7 @@ stdenv.mkDerivation rec { wrapProgram $out/bin/bless --prefix MONO_PATH : "$MPATH" --prefix LD_LIBRARY_PATH : "$MPATH" ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/afrantzis/bless"; description = "Gtk# Hex Editor"; maintainers = [ maintainers.mkg20001 ]; diff --git a/pkgs/applications/editors/bluefish/default.nix b/pkgs/applications/editors/bluefish/default.nix index 48c83b05310..21da4de9c6d 100644 --- a/pkgs/applications/editors/bluefish/default.nix +++ b/pkgs/applications/editors/bluefish/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, intltool, wrapGAppsHook, pkgconfig , gtk, libxml2 +{ lib, stdenv, fetchurl, intltool, wrapGAppsHook, pkgconfig , gtk, libxml2 , enchant, gucharmap, python, gnome3 }: @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { buildInputs = [ gnome3.adwaita-icon-theme gtk libxml2 enchant gucharmap python ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A powerful editor targeted towards programmers and webdevelopers"; homepage = "http://bluefish.openoffice.nl/"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/editors/bluej/default.nix b/pkgs/applications/editors/bluej/default.nix index 25caf4b7ac7..af333e00961 100644 --- a/pkgs/applications/editors/bluej/default.nix +++ b/pkgs/applications/editors/bluej/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, makeWrapper, jdk }: +{ lib, stdenv, fetchurl, makeWrapper, jdk }: stdenv.mkDerivation rec { pname = "bluej"; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { --add-flags "-Djavafx.embed.singleThread=true -Dawt.useSystemAAFontSettings=on -Xmx512M -cp \"$out/share/bluej/bluej.jar\" bluej.Boot" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A simple integrated development environment for Java"; homepage = "https://www.bluej.org/"; license = licenses.gpl2ClasspathPlus; diff --git a/pkgs/applications/editors/bonzomatic/default.nix b/pkgs/applications/editors/bonzomatic/default.nix index 4d02b6837ca..df54f710d9c 100644 --- a/pkgs/applications/editors/bonzomatic/default.nix +++ b/pkgs/applications/editors/bonzomatic/default.nix @@ -1,4 +1,4 @@ -{ stdenv, makeWrapper, fetchFromGitHub, cmake, alsaLib, mesa_glu, libXcursor, libXinerama, libXrandr, xorgserver }: +{ lib, stdenv, makeWrapper, fetchFromGitHub, cmake, alsaLib, mesa_glu, libXcursor, libXinerama, libXrandr, xorgserver }: stdenv.mkDerivation rec { pname = "bonzomatic"; @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { wrapProgram $out/bin/Bonzomatic --prefix LD_LIBRARY_PATH : "${alsaLib}/lib" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A live-coding tool for writing 2D fragment/pixel shaders"; license = with licenses; [ unlicense diff --git a/pkgs/applications/editors/bvi/default.nix b/pkgs/applications/editors/bvi/default.nix index 8a61e0252bc..ddef8467646 100644 --- a/pkgs/applications/editors/bvi/default.nix +++ b/pkgs/applications/editors/bvi/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ncurses }: +{ lib, stdenv, fetchurl, ncurses }: stdenv.mkDerivation rec { pname = "bvi"; @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Hex editor with vim style keybindings"; homepage = "http://bvi.sourceforge.net/download.html"; license = licenses.gpl2; diff --git a/pkgs/applications/editors/bviplus/default.nix b/pkgs/applications/editors/bviplus/default.nix index 2cf094c091a..e48a147e6da 100644 --- a/pkgs/applications/editors/bviplus/default.nix +++ b/pkgs/applications/editors/bviplus/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ncurses }: +{ lib, stdenv, fetchurl, ncurses }: stdenv.mkDerivation rec { pname = "bviplus"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { buildFlags = [ "CFLAGS=-fgnu89-inline" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Ncurses based hex editor with a vim-like interface"; homepage = "http://bviplus.sourceforge.net"; license = licenses.gpl3; diff --git a/pkgs/applications/editors/code-browser/default.nix b/pkgs/applications/editors/code-browser/default.nix index ed11298c621..3eecc471db9 100644 --- a/pkgs/applications/editors/code-browser/default.nix +++ b/pkgs/applications/editors/code-browser/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , fetchurl , copper , ruby @@ -39,7 +39,7 @@ stdenv.mkDerivation rec { ] ++ stdenv.lib.optionals withQt [ "UI=qt" ] ++ stdenv.lib.optionals withGtk [ "UI=gtk" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Folding text editor, designed to hierarchically structure any kind of text file and especially source code"; homepage = "https://tibleiz.net/code-browser/"; license = licenses.gpl2; diff --git a/pkgs/applications/editors/deadpixi-sam/default.nix b/pkgs/applications/editors/deadpixi-sam/default.nix index 65ec4393912..463865d26bf 100644 --- a/pkgs/applications/editors/deadpixi-sam/default.nix +++ b/pkgs/applications/editors/deadpixi-sam/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, freetype, libX11, libXi, libXt, libXft }: +{ lib, stdenv, fetchFromGitHub, freetype, libX11, libXi, libXt, libXft }: stdenv.mkDerivation rec { version = "2017-10-27"; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { mv deadpixi-sam.desktop $out/share/applications ''; - meta = with stdenv.lib; { + meta = with lib; { inherit (src.meta) homepage; description = "Updated version of the sam text editor"; license = with licenses; lpl-102; diff --git a/pkgs/applications/editors/dit/default.nix b/pkgs/applications/editors/dit/default.nix index e89267d04c5..170019d2738 100644 --- a/pkgs/applications/editors/dit/default.nix +++ b/pkgs/applications/editors/dit/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { substituteInPlace Prototypes.h --replace 'tail' "$(type -P tail)" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A console text editor for Unix that you already know how to use"; homepage = "https://hisham.hm/dit/"; license = licenses.gpl2; diff --git a/pkgs/applications/editors/eclipse/plugins.nix b/pkgs/applications/editors/eclipse/plugins.nix index 04b8a1de159..000129f74df 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; diff --git a/pkgs/applications/editors/edbrowse/default.nix b/pkgs/applications/editors/edbrowse/default.nix index 4e727e9a22a..86cc81a58c2 100644 --- a/pkgs/applications/editors/edbrowse/default.nix +++ b/pkgs/applications/editors/edbrowse/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, duktape, curl, pcre, readline, openssl, perl, html-tidy }: +{ lib, stdenv, fetchFromGitHub, duktape, curl, pcre, readline, openssl, perl, html-tidy }: stdenv.mkDerivation rec { pname = "edbrowse"; @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { rev = "v${version}"; sha256 = "0cw9d60mdhwna57r1vxn53s8gl81rr3cxnvm769ifq3xyh49vfcf"; }; - meta = with stdenv.lib; { + meta = with lib; { description = "Command Line Editor Browser"; longDescription = '' Edbrowse is a combination editor, browser, and mail client that is 100% text based. diff --git a/pkgs/applications/editors/edit/default.nix b/pkgs/applications/editors/edit/default.nix index 05220600261..ff4dcca8935 100644 --- a/pkgs/applications/editors/edit/default.nix +++ b/pkgs/applications/editors/edit/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, unzip, pkgconfig, ncurses, libX11, libXft, cwebbin }: +{ lib, stdenv, fetchgit, unzip, pkgconfig, ncurses, libX11, libXft, cwebbin }: stdenv.mkDerivation { pname = "edit-nightly"; @@ -29,7 +29,7 @@ stdenv.mkDerivation { cp obj/edit $out/bin/edit ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A relaxing mix of Vi and ACME"; homepage = "http://c9x.me/edit"; license = licenses.publicDomain; diff --git a/pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix b/pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix index ba54e5f4341..ce85e9be4e9 100644 --- a/pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix +++ b/pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchzip, emacs, color-theme}: +{lib, stdenv, fetchzip, emacs, color-theme}: let commit = "f3ca8902ea056fb8e46cb09f09c96294e31cd4ee"; in @@ -23,7 +23,7 @@ stdenv.mkDerivation { install *.el* $out/share/emacs/site-lisp ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Precision colors for machines and people"; homepage = "http://ethanschoonover.com/solarized"; maintainers = [ maintainers.samuelrivas ]; diff --git a/pkgs/applications/editors/emacs-modes/sv-kalender/default.nix b/pkgs/applications/editors/emacs-modes/sv-kalender/default.nix index 211be0a9089..dd553fc1998 100644 --- a/pkgs/applications/editors/emacs-modes/sv-kalender/default.nix +++ b/pkgs/applications/editors/emacs-modes/sv-kalender/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, trivialBuild }: +{ fetchurl, lib, stdenv, trivialBuild }: trivialBuild { pname = "sv-kalender"; @@ -12,7 +12,7 @@ trivialBuild { ''; }; - meta = with stdenv.lib; { + meta = with lib; { description = "Swedish calendar for Emacs"; homepage = "http://bigwalter.net/daniel/elisp/sv-kalender.el"; platforms = platforms.all; diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 101dbdaa2e9..0f3ececd37d 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -177,7 +177,7 @@ in stdenv.mkDerivation (lib.optionalAttrs nativeComp { inherit nativeComp; }; - meta = with stdenv.lib; { + meta = with lib; { description = "The extensible, customizable GNU text editor"; homepage = "https://www.gnu.org/software/emacs/"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/editors/emacs/macport.nix b/pkgs/applications/editors/emacs/macport.nix index f991fe7ea66..dd9a6673458 100644 --- a/pkgs/applications/editors/emacs/macport.nix +++ b/pkgs/applications/editors/emacs/macport.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ncurses, pkgconfig, texinfo, libxml2, gnutls, gettext, autoconf, automake, jansson +{ lib, stdenv, fetchurl, ncurses, pkgconfig, texinfo, libxml2, gnutls, gettext, autoconf, automake, jansson , AppKit, Carbon, Cocoa, IOKit, OSAKit, Quartz, QuartzCore, WebKit , ImageCaptureCore, GSS, ImageIO # These may be optional }: @@ -87,7 +87,7 @@ stdenv.mkDerivation rec { # lisp/net/tramp-tests.log doCheck = false; - meta = with stdenv.lib; { + meta = with lib; { description = "The extensible, customizable text editor"; homepage = "https://www.gnu.org/software/emacs/"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/editors/featherpad/default.nix b/pkgs/applications/editors/featherpad/default.nix index 8343472fa70..dee0fe72ebb 100644 --- a/pkgs/applications/editors/featherpad/default.nix +++ b/pkgs/applications/editors/featherpad/default.nix @@ -1,4 +1,4 @@ -{ stdenv, mkDerivation, pkgconfig, qmake, qttools, qtbase, qtsvg, qtx11extras, fetchFromGitHub }: +{ lib, stdenv, mkDerivation, pkgconfig, qmake, qttools, qtbase, qtsvg, qtx11extras, fetchFromGitHub }: mkDerivation rec { pname = "featherpad"; version = "0.10.0"; @@ -13,7 +13,7 @@ mkDerivation rec { nativeBuildInputs = [ qmake pkgconfig qttools ]; buildInputs = [ qtbase qtsvg qtx11extras ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Lightweight Qt5 Plain-Text Editor for Linux"; homepage = "https://github.com/tsujan/FeatherPad"; platforms = platforms.linux; diff --git a/pkgs/applications/editors/flpsed/default.nix b/pkgs/applications/editors/flpsed/default.nix index 3d6aac7e18e..871d8489f61 100644 --- a/pkgs/applications/editors/flpsed/default.nix +++ b/pkgs/applications/editors/flpsed/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, fltk13, ghostscript }: +{ lib, stdenv, fetchurl, fltk13, ghostscript }: stdenv.mkDerivation rec { pname = "flpsed"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { -i src/GsWidget.cxx ''; - meta = with stdenv.lib; { + meta = with lib; { description = "WYSIWYG PostScript annotator"; homepage = "https://flpsed.org/flpsed.html"; license = licenses.gpl3; diff --git a/pkgs/applications/editors/focuswriter/default.nix b/pkgs/applications/editors/focuswriter/default.nix index c30cfcb1fb9..1a5ce245153 100644 --- a/pkgs/applications/editors/focuswriter/default.nix +++ b/pkgs/applications/editors/focuswriter/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia, mkDerivation }: +{ lib, stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia, mkDerivation }: mkDerivation rec { pname = "focuswriter"; @@ -17,7 +17,7 @@ mkDerivation rec { qmakeFlags = [ "PREFIX=/" ]; installFlags = [ "INSTALL_ROOT=$(out)" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Simple, distraction-free writing environment"; license = licenses.gpl3Plus; maintainers = with maintainers; [ madjar ]; diff --git a/pkgs/applications/editors/fte/default.nix b/pkgs/applications/editors/fte/default.nix index f19a264c06a..3814c8a879f 100644 --- a/pkgs/applications/editors/fte/default.nix +++ b/pkgs/applications/editors/fte/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, unzip, perl, libX11, libXpm, gpm, ncurses, slang }: +{ lib, stdenv, fetchurl, unzip, perl, libX11, libXpm, gpm, ncurses, slang }: stdenv.mkDerivation rec { name = "fte-0.50.02"; @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { installFlags = [ "PREFIX=$(out)" "INSTALL_NONROOT=1" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A free text editor for developers"; homepage = "http://fte.sourceforge.net/"; license = licenses.gpl2; diff --git a/pkgs/applications/editors/geany/default.nix b/pkgs/applications/editors/geany/default.nix index 124d4ee0417..e6752386718 100644 --- a/pkgs/applications/editors/geany/default.nix +++ b/pkgs/applications/editors/geany/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , fetchurl , gtk3 , which @@ -39,7 +39,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { description = "Small and lightweight IDE"; longDescription = '' Geany is a small and lightweight Integrated Development Environment. diff --git a/pkgs/applications/editors/ghostwriter/default.nix b/pkgs/applications/editors/ghostwriter/default.nix index aa67124c114..4da73d0d2e6 100644 --- a/pkgs/applications/editors/ghostwriter/default.nix +++ b/pkgs/applications/editors/ghostwriter/default.nix @@ -1,4 +1,4 @@ -{ stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, qttools, qtwebengine, hunspell }: +{ lib, stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, qttools, qtwebengine, hunspell }: mkDerivation rec { pname = "ghostwriter"; @@ -15,7 +15,7 @@ mkDerivation rec { buildInputs = [ qtwebengine hunspell ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A cross-platform, aesthetic, distraction-free Markdown editor"; homepage = src.meta.homepage; license = licenses.gpl3Plus; diff --git a/pkgs/applications/editors/gnome-builder/default.nix b/pkgs/applications/editors/gnome-builder/default.nix index 6704702837a..6c91595c99a 100644 --- a/pkgs/applications/editors/gnome-builder/default.nix +++ b/pkgs/applications/editors/gnome-builder/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , ctags , appstream-glib , desktop-file-utils @@ -138,7 +138,7 @@ stdenv.mkDerivation rec { passthru.updateScript = gnome3.updateScript { packageName = pname; }; - meta = with stdenv.lib; { + meta = with lib; { description = "An IDE for writing GNOME-based software"; longDescription = '' Global search, auto-completion, source code map, documentation diff --git a/pkgs/applications/editors/gnome-latex/default.nix b/pkgs/applications/editors/gnome-latex/default.nix index ffdeb21de7f..692e07e52ca 100644 --- a/pkgs/applications/editors/gnome-latex/default.nix +++ b/pkgs/applications/editors/gnome-latex/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, wrapGAppsHook, gsettings-desktop-schemas, gspell, gtksourceview4, libgee +{ lib, stdenv, fetchurl, wrapGAppsHook, gsettings-desktop-schemas, gspell, gtksourceview4, libgee , tepl, amtk, gnome3, glib, pkgconfig, intltool, itstool, libxml2 }: let version = "3.38.0"; @@ -37,7 +37,7 @@ in stdenv.mkDerivation { passthru.updateScript = gnome3.updateScript { packageName = pname; }; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://wiki.gnome.org/Apps/GNOME-LaTeX"; description = "A LaTeX editor for the GNOME desktop"; maintainers = [ maintainers.manveru ]; diff --git a/pkgs/applications/editors/gobby/default.nix b/pkgs/applications/editors/gobby/default.nix index e3d039e4223..4dc7ea33cdd 100644 --- a/pkgs/applications/editors/gobby/default.nix +++ b/pkgs/applications/editors/gobby/default.nix @@ -1,5 +1,5 @@ { avahiSupport ? false # build support for Avahi in libinfinity -, stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, wrapGAppsHook, yelp-tools +, lib, stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, wrapGAppsHook, yelp-tools , gtkmm3, gsasl, gtksourceview3, libxmlxx, libinfinity, intltool, itstool, gnome3 }: let @@ -18,7 +18,7 @@ in stdenv.mkDerivation { preConfigure = "./autogen.sh"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://gobby.0x539.de/"; description = "A GTK-based collaborative editor supporting multiple documents in one session and a multi-user chat"; license = stdenv.lib.licenses.gpl2Plus; diff --git a/pkgs/applications/editors/greenfoot/default.nix b/pkgs/applications/editors/greenfoot/default.nix index 8205d52b43a..324d8b13f21 100644 --- a/pkgs/applications/editors/greenfoot/default.nix +++ b/pkgs/applications/editors/greenfoot/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, makeWrapper, jdk }: +{ lib, stdenv, fetchurl, makeWrapper, jdk }: stdenv.mkDerivation rec { pname = "greenfoot"; @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { --add-flags "-Djavafx.embed.singleThread=true -Dawt.useSystemAAFontSettings=on -Xmx512M -cp \"$out/share/greenfoot/bluej.jar\" bluej.Boot -greenfoot=true -bluej.compiler.showunchecked=false -greenfoot.scenarios=$out/share/doc/Greenfoot/scenarios -greenfoot.url.javadoc=file://$out/share/doc/Greenfoot/API" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A simple integrated development environment for Java"; homepage = "https://www.greenfoot.org/"; license = licenses.gpl2ClasspathPlus; diff --git a/pkgs/applications/editors/hecate/default.nix b/pkgs/applications/editors/hecate/default.nix index de57fb09215..a0fdcfbb3f6 100644 --- a/pkgs/applications/editors/hecate/default.nix +++ b/pkgs/applications/editors/hecate/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildGoPackage, fetchFromGitHub }: +{ lib, stdenv, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { version = "0.0.1"; @@ -15,7 +15,7 @@ buildGoPackage rec { goDeps = ./deps.nix; - meta = with stdenv.lib; { + meta = with lib; { inherit (src.meta) homepage; description = "terminal hex editor"; longDescription = "The Hex Editor From Hell!"; diff --git a/pkgs/applications/editors/hexdino/default.nix b/pkgs/applications/editors/hexdino/default.nix index 9722854b980..5d782aa1abc 100644 --- a/pkgs/applications/editors/hexdino/default.nix +++ b/pkgs/applications/editors/hexdino/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, rustPlatform, ncurses }: +{ lib, stdenv, fetchFromGitHub, rustPlatform, ncurses }: rustPlatform.buildRustPackage { pname = "hexdino"; @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage { buildInputs = [ ncurses ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A hex editor with vim like keybindings written in Rust"; homepage = "https://github.com/Luz/hexdino"; license = licenses.mit; diff --git a/pkgs/applications/editors/jedit/default.nix b/pkgs/applications/editors/jedit/default.nix index 18fe236983a..0d29eeb17dc 100644 --- a/pkgs/applications/editors/jedit/default.nix +++ b/pkgs/applications/editors/jedit/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ant, jdk, commonsBsf, commonsLogging, bsh }: +{ lib, stdenv, fetchurl, ant, jdk, commonsBsf, commonsLogging, bsh }: let version = "5.2.0"; @@ -52,7 +52,7 @@ stdenv.mkDerivation { chmod +x $out/bin/jedit ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Mature programmer's text editor (Java based)"; homepage = "http://www.jedit.org"; license = licenses.gpl2; diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix index 9d743b197e6..d805d179647 100644 --- a/pkgs/applications/editors/jetbrains/default.nix +++ b/pkgs/applications/editors/jetbrains/default.nix @@ -15,7 +15,7 @@ let lib.overrideDerivation (mkJetBrainsProduct { inherit name version src wmClass jdk; product = "CLion"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.jetbrains.com/clion/"; inherit description license; longDescription = '' @@ -83,7 +83,7 @@ let (mkJetBrainsProduct { inherit name version src wmClass jdk; product = "DataGrip"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.jetbrains.com/datagrip/"; inherit description license; longDescription = '' @@ -100,7 +100,7 @@ let lib.overrideDerivation (mkJetBrainsProduct { inherit name version src wmClass jdk; product = "Goland"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.jetbrains.com/go/"; inherit description license; longDescription = '' @@ -125,7 +125,7 @@ let (mkJetBrainsProduct { inherit name version src wmClass jdk; product = "IDEA"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.jetbrains.com/idea/"; inherit description license; longDescription = '' @@ -143,7 +143,7 @@ let (mkJetBrainsProduct rec { inherit name version src wmClass jdk; product = "MPS"; - meta = with stdenv.lib; { + meta = with lib; { homepage = https://www.jetbrains.com/mps/; inherit license description; longDescription = '' @@ -161,7 +161,7 @@ let (mkJetBrainsProduct { inherit name version src wmClass jdk; product = "PhpStorm"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.jetbrains.com/phpstorm/"; inherit description license; longDescription = '' @@ -178,7 +178,7 @@ let (mkJetBrainsProduct { inherit name version src wmClass jdk; product = "PyCharm"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.jetbrains.com/pycharm/"; inherit description license; longDescription = '' @@ -205,7 +205,7 @@ let lib.overrideDerivation (mkJetBrainsProduct { inherit name version src wmClass jdk; product = "Rider"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.jetbrains.com/rider/"; inherit description license; longDescription = '' @@ -231,7 +231,7 @@ let (mkJetBrainsProduct { inherit name version src wmClass jdk; product = "RubyMine"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.jetbrains.com/ruby/"; inherit description license; longDescription = description; @@ -244,7 +244,7 @@ let lib.overrideDerivation (mkJetBrainsProduct { inherit name version src wmClass jdk; product = "WebStorm"; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.jetbrains.com/webstorm/"; inherit description license; longDescription = '' diff --git a/pkgs/applications/editors/joe/default.nix b/pkgs/applications/editors/joe/default.nix index 9470c7940d6..4a335a351c7 100644 --- a/pkgs/applications/editors/joe/default.nix +++ b/pkgs/applications/editors/joe/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl } : +{ lib, stdenv, fetchurl } : stdenv.mkDerivation rec { pname = "joe"; @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "1pmr598xxxm9j9dl93kq4dv36zyw0q2dh6d7x07hf134y9hhlnj9"; }; - meta = with stdenv.lib; { + meta = with lib; { description = "A full featured terminal-based screen editor"; longDescription = '' JOE (Joe's Own Editor) is a full featured terminal-based screen editor diff --git a/pkgs/applications/editors/jupp/default.nix b/pkgs/applications/editors/jupp/default.nix index 79db7b8a558..e134113e23f 100644 --- a/pkgs/applications/editors/jupp/default.nix +++ b/pkgs/applications/editors/jupp/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ncurses, gpm }: +{ lib, stdenv, fetchurl, ncurses, gpm }: stdenv.mkDerivation rec { @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { "--enable-largefile" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A portable fork of Joe's editor"; longDescription = '' This is the portable version of JOE's Own Editor, which is currently diff --git a/pkgs/applications/editors/kakoune/plugins/case.kak.nix b/pkgs/applications/editors/kakoune/plugins/case.kak.nix index 6a2ef200e6e..3fa91113bba 100644 --- a/pkgs/applications/editors/kakoune/plugins/case.kak.nix +++ b/pkgs/applications/editors/kakoune/plugins/case.kak.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitLab }: +{ lib, stdenv, fetchFromGitLab }: stdenv.mkDerivation { name = "case.kak"; @@ -16,7 +16,7 @@ stdenv.mkDerivation { cp -r rc/case.kak $out/share/kak/autoload/plugins ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Case convention conversion for Kakoune"; homepage = "https://gitlab.com/FlyingWombat/case.kak"; license = licenses.unlicense; diff --git a/pkgs/applications/editors/kakoune/plugins/kak-ansi.nix b/pkgs/applications/editors/kakoune/plugins/kak-ansi.nix index 408cba45fbe..f34ee6d2999 100644 --- a/pkgs/applications/editors/kakoune/plugins/kak-ansi.nix +++ b/pkgs/applications/editors/kakoune/plugins/kak-ansi.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { name = "kak-ansi"; @@ -22,7 +22,7 @@ declare-option -hidden str ansi_filter %{'"$out"'/bin/kak-ansi-filter} ' rc/ansi.kak >$out/share/kak/autoload/plugins/ansi.kak ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Kakoune support for rendering ANSI code"; homepage = "https://github.com/eraserhd/kak-ansi"; license = licenses.unlicense; diff --git a/pkgs/applications/editors/kakoune/plugins/kak-plumb.nix b/pkgs/applications/editors/kakoune/plugins/kak-plumb.nix index 7abef930531..0c59ca9a08f 100644 --- a/pkgs/applications/editors/kakoune/plugins/kak-plumb.nix +++ b/pkgs/applications/editors/kakoune/plugins/kak-plumb.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, kakoune-unwrapped, plan9port, ... }: +{ lib, stdenv, fetchFromGitHub, kakoune-unwrapped, plan9port, ... }: stdenv.mkDerivation rec { pname = "kak-plumb"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { chmod +x $out/bin/edit-client ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Kakoune integration with the Plan 9 plumber"; homepage = "https://github.com/eraserhd/kak-plumb"; license = licenses.unlicense; diff --git a/pkgs/applications/editors/kakoune/plugins/openscad.kak.nix b/pkgs/applications/editors/kakoune/plugins/openscad.kak.nix index 21c8b7a60cc..57c1033ebbd 100644 --- a/pkgs/applications/editors/kakoune/plugins/openscad.kak.nix +++ b/pkgs/applications/editors/kakoune/plugins/openscad.kak.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation { pname = "openscad.kak"; @@ -15,7 +15,7 @@ stdenv.mkDerivation { install -Dm644 rc/openscad.kak -t $out/share/kak/autoload/plugins/ ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Syntax highlighting for OpenSCAD files"; homepage = "https://github.com/mayjs/openscad.kak"; license = licenses.unlicense; diff --git a/pkgs/applications/editors/kdevelop5/kdevelop-pg-qt.nix b/pkgs/applications/editors/kdevelop5/kdevelop-pg-qt.nix index 40e46d9295f..27cf579734e 100644 --- a/pkgs/applications/editors/kdevelop5/kdevelop-pg-qt.nix +++ b/pkgs/applications/editors/kdevelop5/kdevelop-pg-qt.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, cmake, pkgconfig, extra-cmake-modules, qtbase }: +{ lib, stdenv, fetchurl, cmake, pkgconfig, extra-cmake-modules, qtbase }: let pname = "kdevelop-pg-qt"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { buildInputs = [ qtbase ]; - meta = with stdenv.lib; { + meta = with lib; { maintainers = [ maintainers.ambrop72 ]; platforms = platforms.linux; description = "Parser-generator from KDevplatform"; diff --git a/pkgs/applications/editors/kibi/default.nix b/pkgs/applications/editors/kibi/default.nix index 7945dedc52e..07454d331c6 100644 --- a/pkgs/applications/editors/kibi/default.nix +++ b/pkgs/applications/editors/kibi/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , fetchFromGitHub , rustPlatform }: @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec { sha256 = "1x5bvvq33380k2qhs1bwz3f9zl5q1sl7iic47pxfkzv24bpjnypb"; }; - meta = with stdenv.lib; { + meta = with lib; { description = "A text editor in ≤1024 lines of code, written in Rust"; homepage = "https://github.com/ilai-deutel/kibi"; license = licenses.mit; diff --git a/pkgs/applications/editors/kodestudio/default.nix b/pkgs/applications/editors/kodestudio/default.nix index 71fa2bcd41b..d7f00a2e18a 100644 --- a/pkgs/applications/editors/kodestudio/default.nix +++ b/pkgs/applications/editors/kodestudio/default.nix @@ -114,7 +114,7 @@ in --prefix LD_PRELOAD : ${stdenv.lib.makeLibraryPath [ libXScrnSaver ]}/libXss.so.1 ''; - meta = with stdenv.lib; { + meta = with lib; { description = '' An IDE for Kha based on Visual Studio Code ''; diff --git a/pkgs/applications/editors/leafpad/default.nix b/pkgs/applications/editors/leafpad/default.nix index 94fa0be0173..d37a2de2866 100644 --- a/pkgs/applications/editors/leafpad/default.nix +++ b/pkgs/applications/editors/leafpad/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, intltool, pkgconfig, gtk2 }: +{ lib, stdenv, fetchurl, intltool, pkgconfig, gtk2 }: stdenv.mkDerivation rec { version = "0.8.18.1"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { "--enable-chooser" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A notepad clone for GTK 2.0"; homepage = "http://tarot.freeshell.org/leafpad"; platforms = platforms.linux; diff --git a/pkgs/applications/editors/lighttable/default.nix b/pkgs/applications/editors/lighttable/default.nix index abf55b42c55..ff5b6e3862e 100644 --- a/pkgs/applications/editors/lighttable/default.nix +++ b/pkgs/applications/editors/lighttable/default.nix @@ -55,7 +55,7 @@ stdenv.mkDerivation rec { cp "${desktopItem}/share/applications/LightTable.desktop" "$out"/share/applications/ ''; - meta = with stdenv.lib; { + meta = with lib; { description = "The next generation code editor"; homepage = "http://www.lighttable.com/"; license = licenses.gpl3; diff --git a/pkgs/applications/editors/lite/default.nix b/pkgs/applications/editors/lite/default.nix index 2f439723498..a313ea18212 100644 --- a/pkgs/applications/editors/lite/default.nix +++ b/pkgs/applications/editors/lite/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , fetchFromGitHub , SDL2 , lua52Packages @@ -48,7 +48,7 @@ stdenv.mkDerivation rec { makeWrapper $out/lib/${pname}/lite $out/bin/lite ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A lightweight text editor written in Lua"; homepage = "https://github.com/rxi/lite"; license = licenses.mit; diff --git a/pkgs/applications/editors/marker/default.nix b/pkgs/applications/editors/marker/default.nix index 19ffdbd2c2c..f974cc1ef42 100644 --- a/pkgs/applications/editors/marker/default.nix +++ b/pkgs/applications/editors/marker/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , fetchFromGitHub , meson , ninja @@ -38,7 +38,7 @@ stdenv.mkDerivation rec { pandoc ]; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://fabiocolacio.github.io/Marker/"; description = "Markdown editor for the Linux desktop"; maintainers = with maintainers; [ trepetti ]; diff --git a/pkgs/applications/editors/mg/default.nix b/pkgs/applications/editors/mg/default.nix index 6ba315e541b..8878e01de67 100644 --- a/pkgs/applications/editors/mg/default.nix +++ b/pkgs/applications/editors/mg/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, pkgconfig, ncurses, buildPackages }: +{ lib, stdenv, fetchFromGitHub, pkgconfig, ncurses, buildPackages }: stdenv.mkDerivation rec { pname = "mg"; @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Micro GNU/emacs, a portable version of the mg maintained by the OpenBSD team"; homepage = "https://man.openbsd.org/OpenBSD-current/man1/mg.1"; license = licenses.publicDomain; diff --git a/pkgs/applications/editors/mindforger/default.nix b/pkgs/applications/editors/mindforger/default.nix index f7e24434225..a8e60cddfbb 100644 --- a/pkgs/applications/editors/mindforger/default.nix +++ b/pkgs/applications/editors/mindforger/default.nix @@ -4,7 +4,7 @@ , qmake , qtbase , qtwebkit -, stdenv +, lib, stdenv , wrapGAppsHook }: @@ -31,7 +31,7 @@ mkDerivation rec { qmakeFlags = [ "-r mindforger.pro" "CONFIG+=mfnoccache" ] ; - meta = with stdenv.lib; { + meta = with lib; { description = "Thinking Notebook & Markdown IDE"; longDescription = '' MindForger is actually more than an editor or IDE - it's human diff --git a/pkgs/applications/editors/mle/default.nix b/pkgs/applications/editors/mle/default.nix index 692b82dc688..d57e4d36b4e 100644 --- a/pkgs/applications/editors/mle/default.nix +++ b/pkgs/applications/editors/mle/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, termbox, pcre, uthash, lua5_3 }: +{ lib, stdenv, fetchFromGitHub, termbox, pcre, uthash, lua5_3 }: stdenv.mkDerivation rec { pname = "mle"; @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { installFlags = [ "prefix=${placeholder "out"}" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Small, flexible terminal-based text editor"; homepage = "https://github.com/adsr/mle"; license = licenses.asl20; diff --git a/pkgs/applications/editors/moe/default.nix b/pkgs/applications/editors/moe/default.nix index d6dbe100652..4365c172f48 100644 --- a/pkgs/applications/editors/moe/default.nix +++ b/pkgs/applications/editors/moe/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , fetchurl , ncurses , lzip @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ lzip ]; buildInputs = [ ncurses ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A small, 8-bit clean editor"; longDescription = '' GNU moe is a powerful, 8-bit clean, console text editor for ISO-8859 and diff --git a/pkgs/applications/editors/monodevelop/default.nix b/pkgs/applications/editors/monodevelop/default.nix index 527228742c4..9b576795be0 100644 --- a/pkgs/applications/editors/monodevelop/default.nix +++ b/pkgs/applications/editors/monodevelop/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl +{ lib, stdenv, fetchurl , autoconf, automake, pkgconfig, shared-mime-info, intltool , glib, mono, gtk-sharp-2_0, gnome2, gnome-sharp, unzip , dotnetPackages @@ -73,7 +73,7 @@ stdenv.mkDerivation rec { dontStrip = true; - meta = with stdenv.lib; { + meta = with lib; { platforms = platforms.linux; maintainers = with maintainers; [ obadz ]; broken = true; # 2018-09-21, build has failed since 2018-03-08 diff --git a/pkgs/applications/editors/music/tuxguitar/default.nix b/pkgs/applications/editors/music/tuxguitar/default.nix index 08841eb5810..e7cd319b820 100644 --- a/pkgs/applications/editors/music/tuxguitar/default.nix +++ b/pkgs/applications/editors/music/tuxguitar/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, swt, jdk, makeWrapper, alsaLib, jack2, fluidsynth, libpulseaudio }: +{ lib, stdenv, fetchurl, swt, jdk, makeWrapper, alsaLib, jack2, fluidsynth, libpulseaudio }: let metadata = assert stdenv.hostPlatform.system == "i686-linux" || stdenv.hostPlatform.system == "x86_64-linux"; if stdenv.hostPlatform.system == "i686-linux" then @@ -31,7 +31,7 @@ in stdenv.mkDerivation rec { --prefix CLASSPATH : "${swt}/jars/swt.jar:$out/lib/tuxguitar.jar:$out/lib/itext.jar" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A multitrack guitar tablature editor"; longDescription = '' TuxGuitar is a multitrack guitar tablature editor and player written diff --git a/pkgs/applications/editors/ne/default.nix b/pkgs/applications/editors/ne/default.nix index 4faf1e28b1c..fde6542f160 100644 --- a/pkgs/applications/editors/ne/default.nix +++ b/pkgs/applications/editors/ne/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, ncurses, texinfo, texlive, perl, ghostscript }: +{ lib, stdenv, fetchFromGitHub, ncurses, texinfo, texlive, perl, ghostscript }: stdenv.mkDerivation rec { pname = "ne"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { makeFlags = [ "PREFIX=${placeholder "out"}" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "The nice editor"; homepage = "http://ne.di.unimi.it/"; longDescription = '' diff --git a/pkgs/applications/editors/nedit/default.nix b/pkgs/applications/editors/nedit/default.nix index e1d1fa3070a..feaba31734c 100644 --- a/pkgs/applications/editors/nedit/default.nix +++ b/pkgs/applications/editors/nedit/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, xlibsWrapper, motif, libXpm }: +{ lib, stdenv, fetchurl, xlibsWrapper, motif, libXpm }: stdenv.mkDerivation rec { pname = "nedit"; @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { cp -p source/nedit source/nc $out/bin ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://sourceforge.net/projects/nedit"; description = "A fast, compact Motif/X11 plain text editor"; platforms = with platforms; linux ++ darwin; diff --git a/pkgs/applications/editors/neovim/gnvim/default.nix b/pkgs/applications/editors/neovim/gnvim/default.nix index e6166dd14b1..f1d56584e49 100644 --- a/pkgs/applications/editors/neovim/gnvim/default.nix +++ b/pkgs/applications/editors/neovim/gnvim/default.nix @@ -1,4 +1,4 @@ -{ stdenv, rustPlatform, fetchFromGitHub, gtk, webkitgtk }: +{ lib, stdenv, rustPlatform, fetchFromGitHub, gtk, webkitgtk }: rustPlatform.buildRustPackage rec { pname = "gnvim-unwrapped"; @@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec { make install PREFIX="${placeholder "out"}" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "GUI for neovim, without any web bloat"; homepage = "https://github.com/vhakulinen/gnvim"; license = licenses.mit; diff --git a/pkgs/applications/editors/neovim/qt.nix b/pkgs/applications/editors/neovim/qt.nix index 5a75a9284f0..8eaa9204c43 100644 --- a/pkgs/applications/editors/neovim/qt.nix +++ b/pkgs/applications/editors/neovim/qt.nix @@ -1,4 +1,4 @@ -{ stdenv, mkDerivation, fetchFromGitHub, cmake, doxygen, makeWrapper +{ lib, stdenv, mkDerivation, fetchFromGitHub, cmake, doxygen, makeWrapper , msgpack, neovim, pythonPackages, qtbase }: let @@ -35,7 +35,7 @@ let doCheck = true; - meta = with stdenv.lib; { + meta = with lib; { description = "Neovim client library and GUI, in Qt5"; homepage = "https://github.com/equalsraf/neovim-qt"; license = licenses.isc; diff --git a/pkgs/applications/editors/okteta/default.nix b/pkgs/applications/editors/okteta/default.nix index 382fcd44257..d51f46b9e0a 100644 --- a/pkgs/applications/editors/okteta/default.nix +++ b/pkgs/applications/editors/okteta/default.nix @@ -1,4 +1,4 @@ -{ mkDerivation, stdenv, fetchurl, extra-cmake-modules, kdoctools, qtscript, kconfig +{ mkDerivation, lib, stdenv, fetchurl, extra-cmake-modules, kdoctools, qtscript, kconfig , kinit, karchive, kcrash, kcmutils, kconfigwidgets, knewstuff, kparts , qca-qt5, shared-mime-info }: @@ -26,7 +26,7 @@ mkDerivation rec { kcrash ]; - meta = with stdenv.lib; { + meta = with lib; { license = licenses.gpl2; description = "A hex editor"; maintainers = with maintainers; [ peterhoeg bkchr ]; diff --git a/pkgs/applications/editors/quilter/default.nix b/pkgs/applications/editors/quilter/default.nix index b69d20850ad..9834b78eae9 100644 --- a/pkgs/applications/editors/quilter/default.nix +++ b/pkgs/applications/editors/quilter/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, nix-update-script, pkgconfig, meson, ninja, python3, vala +{ lib, stdenv, fetchFromGitHub, nix-update-script, pkgconfig, meson, ninja, python3, vala , gtk3, desktop-file-utils, gtksourceview, webkitgtk, gtkspell3, pantheon , libgee, discount, wrapGAppsHook }: @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { }; }; - meta = with stdenv.lib; { + meta = with lib; { description = "Focus on your writing - designed for elementary OS"; homepage = "https://github.com/lainsce/quilter"; license = licenses.gpl2Plus; diff --git a/pkgs/applications/editors/qxmledit/default.nix b/pkgs/applications/editors/qxmledit/default.nix index cb658e8fcda..4023861cc37 100644 --- a/pkgs/applications/editors/qxmledit/default.nix +++ b/pkgs/applications/editors/qxmledit/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, +{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qtxmlpatterns, qtsvg, qtscxml, qtquick1, libGLU }: stdenv.mkDerivation rec { @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { export QXMLEDIT_INST_DOC_DIR="$doc" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Simple XML editor based on qt libraries" ; homepage = "https://sourceforge.net/projects/qxmledit"; license = licenses.lgpl2; diff --git a/pkgs/applications/editors/qxw/default.nix b/pkgs/applications/editors/qxw/default.nix index aed69e4f568..c36aba6d9bb 100644 --- a/pkgs/applications/editors/qxw/default.nix +++ b/pkgs/applications/editors/qxw/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkg-config, gtk2, pcre }: +{ lib, stdenv, fetchurl, pkg-config, gtk2, pcre }: stdenv.mkDerivation rec { pname = "qxw"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { s,/usr/games,/bin,' Makefile ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A program to help create and publish crosswords"; homepage = "https://www.quinapalus.com/qxw.html"; license = licenses.gpl2; diff --git a/pkgs/applications/editors/rehex/default.nix b/pkgs/applications/editors/rehex/default.nix index 0fe00d08405..ec85ffde488 100644 --- a/pkgs/applications/editors/rehex/default.nix +++ b/pkgs/applications/editors/rehex/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , fetchFromGitHub , capstone , jansson @@ -32,7 +32,7 @@ stdenv.mkDerivation rec { makeFlags = [ "prefix=$(out)" ] ++ (stdenv.lib.optionals stdenv.isDarwin [ "-f Makefile.osx" ]); - meta = with stdenv.lib; { + meta = with lib; { description = "Reverse Engineers' Hex Editor"; longDescription = '' A cross-platform (Windows, Linux, Mac) hex editor for reverse diff --git a/pkgs/applications/editors/retext/default.nix b/pkgs/applications/editors/retext/default.nix index c32e8315756..99f7340f753 100644 --- a/pkgs/applications/editors/retext/default.nix +++ b/pkgs/applications/editors/retext/default.nix @@ -1,4 +1,4 @@ -{ stdenv, python3, fetchFromGitHub, wrapQtAppsHook, buildEnv, aspellDicts +{ lib, stdenv, python3, fetchFromGitHub, wrapQtAppsHook, buildEnv, aspellDicts # Use `lib.collect lib.isDerivation aspellDicts;` to make all dictionaries # available. , enchantAspellDicts ? with aspellDicts; [ en en-computers en-science ] @@ -55,7 +55,7 @@ in python.pkgs.buildPythonApplication { ) ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/retext-project/retext/"; description = "Simple but powerful editor for Markdown and reStructuredText"; license = licenses.gpl3; diff --git a/pkgs/applications/editors/scite/default.nix b/pkgs/applications/editors/scite/default.nix index 4e92856fee2..0b72a57df3e 100644 --- a/pkgs/applications/editors/scite/default.nix +++ b/pkgs/applications/editors/scite/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, gtk2 }: +{ lib, stdenv, fetchurl, pkgconfig, gtk2 }: stdenv.mkDerivation { pname = "scite"; @@ -23,7 +23,7 @@ stdenv.mkDerivation { make install prefix=$out/ ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.scintilla.org/SciTE.html"; description = "SCIntilla based Text Editor"; license = licenses.mit; diff --git a/pkgs/applications/editors/sigil/default.nix b/pkgs/applications/editors/sigil/default.nix index 6bf1ca5ada3..8e662d55523 100644 --- a/pkgs/applications/editors/sigil/default.nix +++ b/pkgs/applications/editors/sigil/default.nix @@ -1,4 +1,4 @@ -{ stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, makeWrapper +{ lib, stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, makeWrapper , boost, xercesc, hunspell, zlib, pcre16 , qtbase, qttools, qtwebengine, qtxmlpatterns , python3Packages @@ -36,7 +36,7 @@ mkDerivation rec { ''${qtWrapperArgs[@]} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Free, open source, multi-platform ebook (ePub) editor"; homepage = "https://github.com/Sigil-Ebook/Sigil/"; license = licenses.gpl3; diff --git a/pkgs/applications/editors/spacevim/default.nix b/pkgs/applications/editors/spacevim/default.nix index b2eb6eecc19..02c6fd82d8c 100644 --- a/pkgs/applications/editors/spacevim/default.nix +++ b/pkgs/applications/editors/spacevim/default.nix @@ -1,5 +1,5 @@ { ripgrep, gitAndTools, fzf, makeWrapper, vim_configurable, vimPlugins, fetchFromGitHub, writeTextDir -, stdenv, runCommandNoCC, remarshal, formats, spacevim_config ? import ./init.nix }: +, lib, stdenv, runCommandNoCC, remarshal, formats, spacevim_config ? import ./init.nix }: with stdenv; let format = formats.toml {}; @@ -42,7 +42,7 @@ in mkDerivation rec { --prefix PATH : ${lib.makeBinPath [ fzf gitAndTools.git ripgrep]} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Modern Vim distribution"; longDescription = '' SpaceVim is a distribution of the Vim editor that’s inspired by spacemacs. diff --git a/pkgs/applications/editors/standardnotes/default.nix b/pkgs/applications/editors/standardnotes/default.nix index e019814b3d6..e472df44a60 100644 --- a/pkgs/applications/editors/standardnotes/default.nix +++ b/pkgs/applications/editors/standardnotes/default.nix @@ -1,4 +1,4 @@ -{ stdenv, appimageTools, autoPatchelfHook, desktop-file-utils +{ lib, stdenv, appimageTools, autoPatchelfHook, desktop-file-utils , fetchurl, runtimeShell }: let @@ -44,7 +44,7 @@ in appimageTools.wrapType2 rec { rm usr/lib/* AppRun standard-notes.desktop .so* ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A simple and private notes app"; longDescription = '' Standard Notes is a private notes app that features unmatched simplicity, diff --git a/pkgs/applications/editors/sublime/3/common.nix b/pkgs/applications/editors/sublime/3/common.nix index 22c23280d17..82d824b4877 100644 --- a/pkgs/applications/editors/sublime/3/common.nix +++ b/pkgs/applications/editors/sublime/3/common.nix @@ -1,6 +1,6 @@ { buildVersion, x32sha256, x64sha256, dev ? false }: -{ fetchurl, stdenv, xorg, glib, glibcLocales, gtk3, cairo, pango, libredirect, makeWrapper, wrapGAppsHook +{ fetchurl, lib, stdenv, xorg, glib, glibcLocales, gtk3, cairo, pango, libredirect, makeWrapper, wrapGAppsHook , pkexecPath ? "/run/wrappers/bin/pkexec" , writeScript, common-updater-scripts, curl, gnugrep , openssl, bzip2, bash, unzip, zip @@ -148,7 +148,7 @@ in stdenv.mkDerivation (rec { done ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Sophisticated text editor for code, markup and prose"; homepage = "https://www.sublimetext.com/"; maintainers = with maintainers; [ jtojnar wmertens demin-dmitriy zimbatm ]; diff --git a/pkgs/applications/editors/supertux-editor/default.nix b/pkgs/applications/editors/supertux-editor/default.nix index dc18bd694c6..b42ebe19f64 100644 --- a/pkgs/applications/editors/supertux-editor/default.nix +++ b/pkgs/applications/editors/supertux-editor/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, mono, gtk-sharp-2_0, pkgconfig, makeWrapper, gnome2, gtk2 }: +{ lib, stdenv, fetchFromGitHub, mono, gtk-sharp-2_0, pkgconfig, makeWrapper, gnome2, gtk2 }: stdenv.mkDerivation { version = "git-2014-08-20"; pname = "supertux-editor"; @@ -30,7 +30,7 @@ stdenv.mkDerivation { # Always needed on Mono, otherwise nothing runs dontStrip = true; - meta = with stdenv.lib; { + meta = with lib; { description = "Level editor for SuperTux"; homepage = "https://github.com/SuperTux/supertux-editor"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/editors/tecoc/default.nix b/pkgs/applications/editors/tecoc/default.nix index 3df13260d51..50cad500c95 100644 --- a/pkgs/applications/editors/tecoc/default.nix +++ b/pkgs/applications/editors/tecoc/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub +{ lib, stdenv, fetchFromGitHub , ncurses }: stdenv.mkDerivation rec { @@ -39,7 +39,7 @@ stdenv.mkDerivation rec { ln -s tecoc Inspect ) ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A clone of the good old TECO editor"; longDescription = '' For those who don't know: TECO is the acronym of Tape Editor and COrrector diff --git a/pkgs/applications/editors/textadept/10/default.nix b/pkgs/applications/editors/textadept/10/default.nix index 0456d013bbb..4450fe77d18 100644 --- a/pkgs/applications/editors/textadept/10/default.nix +++ b/pkgs/applications/editors/textadept/10/default.nix @@ -41,7 +41,7 @@ stdenv.mkDerivation rec { "PREFIX=$(out) WGET=true PIXMAPS_DIR=$(out)/share/pixmaps" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "An extensible text editor based on Scintilla with Lua scripting"; homepage = "http://foicica.com/textadept"; license = licenses.mit; diff --git a/pkgs/applications/editors/textadept/11/default.nix b/pkgs/applications/editors/textadept/11/default.nix index 487f1b3767f..017a2970c30 100644 --- a/pkgs/applications/editors/textadept/11/default.nix +++ b/pkgs/applications/editors/textadept/11/default.nix @@ -43,7 +43,7 @@ stdenv.mkDerivation rec { "PREFIX=$(out) WGET=true PIXMAPS_DIR=$(out)/share/pixmaps" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "An extensible text editor based on Scintilla with Lua scripting. Version 11_beta"; homepage = "http://foicica.com/textadept"; license = licenses.mit; diff --git a/pkgs/applications/editors/thonny/default.nix b/pkgs/applications/editors/thonny/default.nix index 0808bf82390..e98d57420e8 100644 --- a/pkgs/applications/editors/thonny/default.nix +++ b/pkgs/applications/editors/thonny/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, python3 }: +{ lib, stdenv, fetchFromGitHub, python3 }: with python3.pkgs; @@ -37,7 +37,7 @@ buildPythonApplication rec { # Tests need a DISPLAY doCheck = false; - meta = with stdenv.lib; { + meta = with lib; { description = "Python IDE for beginners"; longDescription = '' Thonny is a Python IDE for beginners. It supports different ways diff --git a/pkgs/applications/editors/tiled/default.nix b/pkgs/applications/editors/tiled/default.nix index 10c0ed9ea79..b58f5da6a96 100644 --- a/pkgs/applications/editors/tiled/default.nix +++ b/pkgs/applications/editors/tiled/default.nix @@ -1,4 +1,4 @@ -{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake +{ lib, stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake , python, qtbase, qttools }: mkDerivation rec { @@ -17,7 +17,7 @@ mkDerivation rec { enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { description = "Free, easy to use and flexible tile map editor"; homepage = "https://www.mapeditor.org/"; license = with licenses; [ diff --git a/pkgs/applications/editors/tweak/default.nix b/pkgs/applications/editors/tweak/default.nix index 3dc7d04ede3..887a9a8e692 100644 --- a/pkgs/applications/editors/tweak/default.nix +++ b/pkgs/applications/editors/tweak/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ncurses }: +{ lib, stdenv, fetchurl, ncurses }: stdenv.mkDerivation rec { pname = "tweak"; @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses ]; preBuild = "substituteInPlace Makefile --replace '$(DESTDIR)/usr/local' $out"; - meta = with stdenv.lib; { + meta = with lib; { description = "An efficient hex editor"; homepage = "http://www.chiark.greenend.org.uk/~sgtatham/tweak"; license = licenses.mit; diff --git a/pkgs/applications/editors/vim/macvim.nix b/pkgs/applications/editors/vim/macvim.nix index d2cc14c30c4..e950e7685ef 100644 --- a/pkgs/applications/editors/vim/macvim.nix +++ b/pkgs/applications/editors/vim/macvim.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, runCommand, ncurses, gettext +{ lib, stdenv, fetchFromGitHub, runCommand, ncurses, gettext , pkgconfig, cscope, ruby, tcl, perl, luajit , darwin @@ -175,7 +175,7 @@ stdenv.mkDerivation { (deny file-read* file-write* process-exec mach-lookup (subpath "/usr/local") (with no-log)) ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Vim - the text editor - for macOS"; homepage = "https://github.com/macvim-dev/macvim"; license = licenses.vim; diff --git a/pkgs/applications/editors/vim/vimacs.nix b/pkgs/applications/editors/vim/vimacs.nix index d067b418121..cb77e60cf00 100644 --- a/pkgs/applications/editors/vim/vimacs.nix +++ b/pkgs/applications/editors/vim/vimacs.nix @@ -1,4 +1,4 @@ -{ stdenv, config, vim_configurable, macvim, vimPlugins +{ lib, stdenv, config, vim_configurable, macvim, vimPlugins , useMacvim ? stdenv.isDarwin && (config.vimacs.macvim or true) , vimacsExtraArgs ? "" }: @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { done ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Vim-Improved eMACS: Emacs emulation for Vim"; homepage = "http://algorithm.com.au/code/vimacs"; license = licenses.gpl2Plus; diff --git a/pkgs/applications/editors/vis/default.nix b/pkgs/applications/editors/vis/default.nix index c8eb119eb07..bd6eba94907 100644 --- a/pkgs/applications/editors/vis/default.nix +++ b/pkgs/applications/editors/vis/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, pkgconfig, makeWrapper, makeDesktopItem +{ lib, stdenv, fetchFromGitHub, pkgconfig, makeWrapper, makeDesktopItem , ncurses, libtermkey, lpeg, lua , acl ? null, libselinux ? null }: @@ -61,7 +61,7 @@ stdenv.mkDerivation rec { terminal = "true"; }; - meta = with stdenv.lib; { + meta = with lib; { description = "A vim like editor"; homepage = "https://github.com/martanne/vis"; license = licenses.isc; diff --git a/pkgs/applications/editors/viw/default.nix b/pkgs/applications/editors/viw/default.nix index 4025bf252b3..3aad18ef11c 100644 --- a/pkgs/applications/editors/viw/default.nix +++ b/pkgs/applications/editors/viw/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, ncurses }: +{ lib, stdenv, fetchFromGitHub, ncurses }: stdenv.mkDerivation rec { pname = "viw"; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { install -Dm 644 -t $out/share/doc/${pname} README.md ''; - meta = with stdenv.lib; { + meta = with lib; { description = "VI Worsened, a fun and light clone of VI"; homepage = "https://github.com/lpan/viw"; license = licenses.gpl3Only; diff --git a/pkgs/applications/editors/vscode/vscode.nix b/pkgs/applications/editors/vscode/vscode.nix index 911b497e8f0..7324a19620d 100644 --- a/pkgs/applications/editors/vscode/vscode.nix +++ b/pkgs/applications/editors/vscode/vscode.nix @@ -40,7 +40,7 @@ in sourceRoot = ""; - meta = with stdenv.lib; { + meta = with lib; { description = '' Open source source code editor developed by Microsoft for Windows, Linux and macOS diff --git a/pkgs/applications/editors/vscode/vscodium.nix b/pkgs/applications/editors/vscode/vscodium.nix index c3d8c4ee46c..cae16110615 100644 --- a/pkgs/applications/editors/vscode/vscodium.nix +++ b/pkgs/applications/editors/vscode/vscodium.nix @@ -1,4 +1,4 @@ -{ stdenv, callPackage, fetchurl }: +{ lib, stdenv, callPackage, fetchurl }: let inherit (stdenv.hostPlatform) system; @@ -45,7 +45,7 @@ in inherit sha256; }; - meta = with stdenv.lib; { + meta = with lib; { description = '' Open source source code editor developed by Microsoft for Windows, Linux and macOS (VS Code without MS branding/telemetry/licensing) diff --git a/pkgs/applications/editors/wily/default.nix b/pkgs/applications/editors/wily/default.nix index ac741599bda..3fe756bcf72 100644 --- a/pkgs/applications/editors/wily/default.nix +++ b/pkgs/applications/editors/wily/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, libX11, libXt } : +{ lib, stdenv, fetchurl, libX11, libXt } : stdenv.mkDerivation rec { version = "0.13.42"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { mkdir -p $out/bin ''; - meta = with stdenv.lib; { + meta = with lib; { description = "An emulation of ACME"; homepage = "http://wily.sourceforge.net"; license = licenses.artistic1; diff --git a/pkgs/applications/editors/xmlcopyeditor/default.nix b/pkgs/applications/editors/xmlcopyeditor/default.nix index f3270fccdfe..d9bf7f52b2c 100644 --- a/pkgs/applications/editors/xmlcopyeditor/default.nix +++ b/pkgs/applications/editors/xmlcopyeditor/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, aspell, boost, expat, intltool, libxml2, libxslt, pcre, wxGTK, xercesc }: +{ lib, stdenv, fetchurl, aspell, boost, expat, intltool, libxml2, libxslt, pcre, wxGTK, xercesc }: stdenv.mkDerivation rec { pname = "xmlcopyeditor"; @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { description = "A fast, free, validating XML editor"; homepage = "http://xml-copy-editor.sourceforge.net/"; license = licenses.gpl2Plus; diff --git a/pkgs/applications/editors/yi/wrapper.nix b/pkgs/applications/editors/yi/wrapper.nix index 243690bc263..a7456590ab8 100644 --- a/pkgs/applications/editors/yi/wrapper.nix +++ b/pkgs/applications/editors/yi/wrapper.nix @@ -1,6 +1,6 @@ # To use this for hacking of your Yi config file, drop into a shell # with env attribute. -{ stdenv, makeWrapper +{ lib, stdenv, makeWrapper , haskellPackages , extraPackages ? (s: []) }: @@ -23,7 +23,7 @@ stdenv.mkDerivation { # For hacking purposes passthru.env = yiEnv; - meta = with stdenv.lib; { + meta = with lib; { description = "Allows Yi to find libraries and the compiler easily"; # This wrapper and wrapper only is under PD license = licenses.publicDomain; diff --git a/pkgs/applications/editors/zile/default.nix b/pkgs/applications/editors/zile/default.nix index 5181c2c6767..81c86fb400e 100644 --- a/pkgs/applications/editors/zile/default.nix +++ b/pkgs/applications/editors/zile/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, glib, libgee, pkg-config, ncurses, boehmgc, perl, help2man, vala }: +{ fetchurl, lib, stdenv, glib, libgee, pkg-config, ncurses, boehmgc, perl, help2man, vala }: stdenv.mkDerivation rec { name = "zile-2.6.0.90"; @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { # XXX: Work around cross-compilation-unfriendly `gl_FUNC_FSTATAT' macro. gl_cv_func_fstatat_zero_flag="yes"; - meta = with stdenv.lib; { + meta = with lib; { description = "Lightweight Emacs clone"; longDescription = '' |