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/shells | |
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/shells')
34 files changed, 66 insertions, 66 deletions
diff --git a/pkgs/shells/any-nix-shell/default.nix b/pkgs/shells/any-nix-shell/default.nix index cfd000d84c6..3a9f0a0bfbd 100644 --- a/pkgs/shells/any-nix-shell/default.nix +++ b/pkgs/shells/any-nix-shell/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, makeWrapper }: +{ lib, stdenv, fetchFromGitHub, makeWrapper }: stdenv.mkDerivation rec { pname = "any-nix-shell"; @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { wrapProgram $out/bin/any-nix-shell --prefix PATH ":" $out/bin ''; - meta = with stdenv.lib; { + meta = with lib; { description = "fish and zsh support for nix-shell"; license = licenses.mit; homepage = "https://github.com/haslersn/any-nix-shell"; diff --git a/pkgs/shells/bash/4.4.nix b/pkgs/shells/bash/4.4.nix index d06157fa77c..afdfb816c95 100644 --- a/pkgs/shells/bash/4.4.nix +++ b/pkgs/shells/bash/4.4.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPackages +{ lib, stdenv, buildPackages , fetchurl, binutils ? null, bison, autoconf, util-linux # patch for cygwin requires readline support @@ -111,7 +111,7 @@ stdenv.mkDerivation rec { rm -rf "$out/share" "$out/bin/bashbug" ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.gnu.org/software/bash/"; description = "GNU Bourne-Again Shell, the de facto standard shell on Linux" + diff --git a/pkgs/shells/bash/5.1.nix b/pkgs/shells/bash/5.1.nix index 8950e5f5b1c..fd8c0c32cd6 100644 --- a/pkgs/shells/bash/5.1.nix +++ b/pkgs/shells/bash/5.1.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , buildPackages , fetchurl , binutils ? null @@ -102,7 +102,7 @@ stdenv.mkDerivation rec { rm -rf "$out/share" "$out/bin/bashbug" ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://www.gnu.org/software/bash/"; description = "GNU Bourne-Again Shell, the de facto standard shell on Linux" + diff --git a/pkgs/shells/bash/bash-completion/default.nix b/pkgs/shells/bash/bash-completion/default.nix index 4599b0a2283..22a7ead545d 100644 --- a/pkgs/shells/bash/bash-completion/default.nix +++ b/pkgs/shells/bash/bash-completion/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl +{ lib, stdenv, fetchurl , fetchpatch , autoreconfHook , perl @@ -63,7 +63,7 @@ stdenv.mkDerivation rec { sed -i -e 's/readlink -f/readlink/g' bash_completion completions/* ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/scop/bash-completion"; description = "Programmable completion for the bash shell"; license = licenses.gpl2Plus; diff --git a/pkgs/shells/bash/nix-bash-completions/default.nix b/pkgs/shells/bash/nix-bash-completions/default.nix index 5dfd673a629..2034eed1f5d 100644 --- a/pkgs/shells/bash/nix-bash-completions/default.nix +++ b/pkgs/shells/bash/nix-bash-completions/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { version = "0.6.8"; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { done ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/hedning/nix-bash-completions"; description = "Bash completions for Nix, NixOS, and NixOps"; license = licenses.bsd3; diff --git a/pkgs/shells/dash/default.nix b/pkgs/shells/dash/default.nix index bc270daf09c..2c6e9cc0e68 100644 --- a/pkgs/shells/dash/default.nix +++ b/pkgs/shells/dash/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPackages, autoreconfHook, fetchurl }: +{ lib, stdenv, buildPackages, autoreconfHook, fetchurl }: stdenv.mkDerivation rec { pname = "dash"; @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { depsBuildBuild = [ buildPackages.stdenv.cc ]; nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook; - meta = with stdenv.lib; { + meta = with lib; { homepage = "http://gondor.apana.org.au/~herbert/dash/"; description = "A POSIX-compliant implementation of /bin/sh that aims to be as small as possible"; platforms = platforms.unix; diff --git a/pkgs/shells/dgsh/default.nix b/pkgs/shells/dgsh/default.nix index 0314180e2d5..28e5b15b3e7 100644 --- a/pkgs/shells/dgsh/default.nix +++ b/pkgs/shells/dgsh/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, +{ lib, stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, libtool, check, bison, git, gperf, perl, texinfo, help2man, gettext, ncurses }: @@ -35,7 +35,7 @@ stdenv.mkDerivation { enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { description = "The Directed Graph Shell"; homepage = "http://www.dmst.aueb.gr/dds/sw/dgsh"; license = with licenses; asl20; diff --git a/pkgs/shells/elvish/default.nix b/pkgs/shells/elvish/default.nix index 2cb45f33f7b..938029e9af9 100644 --- a/pkgs/shells/elvish/default.nix +++ b/pkgs/shells/elvish/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildGoModule, fetchFromGitHub }: +{ lib, stdenv, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "elvish"; @@ -19,7 +19,7 @@ buildGoModule rec { doCheck = false; - meta = with stdenv.lib; { + meta = with lib; { description = "A friendly and expressive command shell"; longDescription = '' Elvish is a friendly interactive shell and an expressive programming diff --git a/pkgs/shells/es/default.nix b/pkgs/shells/es/default.nix index 992fdc93dcb..7b2251a3f44 100644 --- a/pkgs/shells/es/default.nix +++ b/pkgs/shells/es/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, readline, yacc }: +{ lib, stdenv, fetchurl, readline, yacc }: let version = "0.9.1"; @@ -24,7 +24,7 @@ stdenv.mkDerivation { configureFlags = [ "--with-readline" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "An extensible shell with higher order functions"; longDescription = '' diff --git a/pkgs/shells/ion/default.nix b/pkgs/shells/ion/default.nix index c2cc626bd3c..d1b499a9160 100644 --- a/pkgs/shells/ion/default.nix +++ b/pkgs/shells/ion/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, rustPlatform, Security }: +{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }: rustPlatform.buildRustPackage rec { pname = "ion"; @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "1ph3r3vspy700mb8pica8478v9arqz07k2nzpbrdkdkqgfcwlgcg"; - meta = with stdenv.lib; { + meta = with lib; { description = "Modern system shell with simple (and powerful) syntax"; homepage = "https://gitlab.redox-os.org/redox-os/ion"; license = licenses.mit; diff --git a/pkgs/shells/jush/default.nix b/pkgs/shells/jush/default.nix index 9894c90bb69..f6d07814ce1 100644 --- a/pkgs/shells/jush/default.nix +++ b/pkgs/shells/jush/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, editline }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, editline }: stdenv.mkDerivation rec { pname = "jush"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { passthru.shellPath = "/bin/jush"; - meta = with stdenv.lib; { + meta = with lib; { description = "just a useless shell"; homepage = "https://github.com/troglobit/jush"; license = licenses.isc; diff --git a/pkgs/shells/ksh/default.nix b/pkgs/shells/ksh/default.nix index e27732226f5..822f1dc3491 100644 --- a/pkgs/shells/ksh/default.nix +++ b/pkgs/shells/ksh/default.nix @@ -1,4 +1,4 @@ -{ stdenv, meson, ninja, fetchFromGitHub, which, python, fetchpatch +{ lib, stdenv, meson, ninja, fetchFromGitHub, which, python, fetchpatch , libiconv }: stdenv.mkDerivation rec { @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { buildInputs = [ libiconv ]; - meta = with stdenv.lib; { + meta = with lib; { description = "KornShell Command And Programming Language"; longDescription = '' The KornShell language was designed and developed by David G. Korn at diff --git a/pkgs/shells/liquidprompt/default.nix b/pkgs/shells/liquidprompt/default.nix index 9893624eaf8..4463d70cf52 100644 --- a/pkgs/shells/liquidprompt/default.nix +++ b/pkgs/shells/liquidprompt/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "liquidprompt"; @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { $out/share/zsh/plugins/liquidprompt/liquidprompt ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A full-featured & carefully designed adaptive prompt for Bash & Zsh"; homepage = "https://github.com/nojhan/liquidprompt"; license = licenses.agpl3; diff --git a/pkgs/shells/mksh/default.nix b/pkgs/shells/mksh/default.nix index c19406e5f55..7022f6b37e3 100644 --- a/pkgs/shells/mksh/default.nix +++ b/pkgs/shells/mksh/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { pname = "mksh"; @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { install -D -m 644 dot.mkshrc $out/share/mksh/mkshrc ''; - meta = with stdenv.lib; { + meta = with lib; { description = "MirBSD Korn Shell"; longDescription = '' The MirBSD Korn Shell is a DFSG-free and OSD-compliant (and OSI diff --git a/pkgs/shells/mrsh/default.nix b/pkgs/shells/mrsh/default.nix index c72f23c143b..c457b72953b 100644 --- a/pkgs/shells/mrsh/default.nix +++ b/pkgs/shells/mrsh/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, readline }: +{ lib, stdenv, fetchFromGitHub, meson, ninja, pkgconfig, readline }: stdenv.mkDerivation rec { pname = "mrsh"; @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { doCheck = true; - meta = with stdenv.lib; { + meta = with lib; { description = "A minimal POSIX shell"; homepage = "https://mrsh.sh"; license = licenses.mit; diff --git a/pkgs/shells/oksh/default.nix b/pkgs/shells/oksh/default.nix index 7ec70e53bd2..8c2998ab54c 100644 --- a/pkgs/shells/oksh/default.nix +++ b/pkgs/shells/oksh/default.nix @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { sha256 = "0lny550qfanysc4pqs0mxxx8zyz6plv9ll8y05gz0xmq9vx5384r"; }; - meta = with stdenv.lib; { + meta = with lib; { description = "Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh)"; homepage = "https://github.com/ibara/oksh"; license = licenses.publicDomain; diff --git a/pkgs/shells/pash/default.nix b/pkgs/shells/pash/default.nix index c646c1c3f9b..06ca2420798 100644 --- a/pkgs/shells/pash/default.nix +++ b/pkgs/shells/pash/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, buildDotnetPackage }: +{ lib, stdenv, fetchFromGitHub, buildDotnetPackage }: buildDotnetPackage { baseName = "pash"; @@ -15,7 +15,7 @@ buildDotnetPackage { outputFiles = [ "Source/PashConsole/bin/Release/*" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "An open source implementation of Windows PowerShell"; homepage = "https://github.com/Pash-Project/Pash"; maintainers = [ maintainers.fornever maintainers.vrthra ]; diff --git a/pkgs/shells/rc/default.nix b/pkgs/shells/rc/default.nix index cd5ed860b2e..a71d5ba2897 100644 --- a/pkgs/shells/rc/default.nix +++ b/pkgs/shells/rc/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, autoreconfHook +{ lib, stdenv, fetchurl, autoreconfHook , ncurses #acinclude.m4 wants headers for tgetent(). , historySupport ? false , readline ? null @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { shellPath = "/bin/rc"; }; - meta = with stdenv.lib; { + meta = with lib; { description = "The Plan 9 shell"; longDescription = "Byron Rakitzis' UNIX reimplementation of Tom Duff's Plan 9 shell."; homepage = "http://tobold.org/article/rc"; diff --git a/pkgs/shells/tcsh/default.nix b/pkgs/shells/tcsh/default.nix index d6527ef24b5..468d17b60b7 100644 --- a/pkgs/shells/tcsh/default.nix +++ b/pkgs/shells/tcsh/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, fetchpatch +{ lib, stdenv, fetchurl, fetchpatch , ncurses }: @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { sha256 = "1qc6ydxhdfizsbkaxhpn3wib8sfphrw10xnnsxx2prvzg9g2zp67"; }); - meta = with stdenv.lib; { + meta = with lib; { description = "An enhanced version of the Berkeley UNIX C shell (csh)"; longDescription = '' tcsh is an enhanced but completely compatible version of the diff --git a/pkgs/shells/xonsh/default.nix b/pkgs/shells/xonsh/default.nix index 711d7060fa5..53bd137ddfa 100644 --- a/pkgs/shells/xonsh/default.nix +++ b/pkgs/shells/xonsh/default.nix @@ -1,4 +1,4 @@ -{ stdenv +{ lib, stdenv , fetchFromGitHub , python3Packages , glibcLocales @@ -43,7 +43,7 @@ python3Packages.buildPythonApplication rec { propagatedBuildInputs = with python3Packages; [ ply prompt_toolkit pygments ]; - meta = with stdenv.lib; { + meta = with lib; { description = "A Python-ish, BASHwards-compatible shell"; homepage = "https://xon.sh/"; changelog = "https://github.com/xonsh/xonsh/releases/tag/${version}"; diff --git a/pkgs/shells/zsh/fzf-zsh/default.nix b/pkgs/shells/zsh/fzf-zsh/default.nix index 075707f425c..ac5cab94d4c 100644 --- a/pkgs/shells/zsh/fzf-zsh/default.nix +++ b/pkgs/shells/zsh/fzf-zsh/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, fzf }: +{ lib, stdenv, fetchFromGitHub, fzf }: stdenv.mkDerivation rec { pname = "fzf-zsh-unstable"; @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { install -Dm0644 fzf-zsh.plugin.zsh $out/share/zsh/plugins/fzf-zsh/fzf-zsh.plugin.zsh ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/wyntau/fzf-zsh"; description = "wrap fzf to use in oh-my-zsh"; license = licenses.mit; diff --git a/pkgs/shells/zsh/gradle-completion/default.nix b/pkgs/shells/zsh/gradle-completion/default.nix index 72667d862a8..bf5969d1300 100644 --- a/pkgs/shells/zsh/gradle-completion/default.nix +++ b/pkgs/shells/zsh/gradle-completion/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "gradle-completion"; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { runHook postInstall ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Gradle tab completion for bash and zsh"; homepage = "https://github.com/gradle/gradle-completion"; license = licenses.mit; diff --git a/pkgs/shells/zsh/grml-zsh-config/default.nix b/pkgs/shells/zsh/grml-zsh-config/default.nix index 756c01d6e34..20181630547 100644 --- a/pkgs/shells/zsh/grml-zsh-config/default.nix +++ b/pkgs/shells/zsh/grml-zsh-config/default.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { ln -s grmlzshrc.5.gz $out/share/man/man5/grml-zsh-config.5.gz ''; - meta = with stdenv.lib; { + meta = with lib; { description = "grml's zsh setup"; homepage = "https://grml.org/zsh/"; license = licenses.gpl2; diff --git a/pkgs/shells/zsh/lambda-mod-zsh-theme/default.nix b/pkgs/shells/zsh/lambda-mod-zsh-theme/default.nix index 37614dac0a3..d9a846c9e06 100644 --- a/pkgs/shells/zsh/lambda-mod-zsh-theme/default.nix +++ b/pkgs/shells/zsh/lambda-mod-zsh-theme/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation { pname = "lambda-mod-zsh-theme-unstable"; @@ -15,7 +15,7 @@ stdenv.mkDerivation { install -Dm0644 lambda-mod.zsh-theme $out/share/zsh/themes/lambda-mod.zsh-theme ''; - meta = with stdenv.lib; { + meta = with lib; { description = "A ZSH theme optimized for people who use Git & Unicode-compatible fonts and terminals"; homepage = "https://github.com/halfo/lambda-mod-zsh-theme/"; license = licenses.mit; diff --git a/pkgs/shells/zsh/nix-zsh-completions/default.nix b/pkgs/shells/zsh/nix-zsh-completions/default.nix index 623d562b16e..c48bf209d0f 100644 --- a/pkgs/shells/zsh/nix-zsh-completions/default.nix +++ b/pkgs/shells/zsh/nix-zsh-completions/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: let version = "0.4.4"; @@ -21,7 +21,7 @@ stdenv.mkDerivation { cp *.zsh $out/share/zsh/plugins/nix ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/spwhitt/nix-zsh-completions"; description = "ZSH completions for Nix, NixOS, and NixOps"; license = licenses.bsd3; diff --git a/pkgs/shells/zsh/oh-my-zsh/default.nix b/pkgs/shells/zsh/oh-my-zsh/default.nix index 429d1c55c8b..1b3a4c21cf3 100644 --- a/pkgs/shells/zsh/oh-my-zsh/default.nix +++ b/pkgs/shells/zsh/oh-my-zsh/default.nix @@ -1,7 +1,7 @@ # This script was inspired by the ArchLinux User Repository package: # # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=oh-my-zsh-git -{ stdenv, fetchFromGitHub, nixosTests, writeScript, common-updater-scripts, git +{ lib, stdenv, fetchFromGitHub, nixosTests, writeScript, common-updater-scripts, git , nix, nixfmt, jq, coreutils, gnused, curl, cacert }: stdenv.mkDerivation rec { @@ -102,7 +102,7 @@ stdenv.mkDerivation rec { ''; }; - meta = with stdenv.lib; { + meta = with lib; { description = "A framework for managing your zsh configuration"; longDescription = '' Oh My Zsh is a framework for managing your zsh configuration. diff --git a/pkgs/shells/zsh/spaceship-prompt/default.nix b/pkgs/shells/zsh/spaceship-prompt/default.nix index 7db8cdb3349..8f4b9bf0875 100644 --- a/pkgs/shells/zsh/spaceship-prompt/default.nix +++ b/pkgs/shells/zsh/spaceship-prompt/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "spaceship-prompt"; @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { ln -s "$out/lib/spaceship-prompt/spaceship.zsh" "$out/share/zsh/site-functions/prompt_spaceship_setup" ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Zsh prompt for Astronauts"; homepage = "https://github.com/denysdovhan/spaceship-prompt/"; license = licenses.mit; diff --git a/pkgs/shells/zsh/zsh-autosuggestions/default.nix b/pkgs/shells/zsh/zsh-autosuggestions/default.nix index 58e560d2fa4..3f5cadfccb1 100644 --- a/pkgs/shells/zsh/zsh-autosuggestions/default.nix +++ b/pkgs/shells/zsh/zsh-autosuggestions/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, zsh }: +{ lib, stdenv, fetchFromGitHub, zsh }: # To make use of this derivation, use the `programs.zsh.enableAutoSuggestions` option @@ -20,7 +20,7 @@ stdenv.mkDerivation rec { $out/share/zsh-autosuggestions/zsh-autosuggestions.zsh ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Fish shell autosuggestions for Zsh"; homepage = "https://github.com/zsh-users/zsh-autosuggestions"; license = licenses.mit; diff --git a/pkgs/shells/zsh/zsh-command-time/default.nix b/pkgs/shells/zsh/zsh-command-time/default.nix index 3ef210a0281..9696e441cf5 100644 --- a/pkgs/shells/zsh/zsh-command-time/default.nix +++ b/pkgs/shells/zsh/zsh-command-time/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: # To make use of this plugin, need to add # programs.zsh.interactiveShellInit = '' @@ -25,7 +25,7 @@ stdenv.mkDerivation { install -Dm0444 $src/command-time.plugin.zsh --target-directory=$out/share/zsh/plugins/command-time ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Plugin that output time: xx after long commands"; homepage = "https://github.com/popstas/zsh-command-time"; license = licenses.mit; diff --git a/pkgs/shells/zsh/zsh-deer/default.nix b/pkgs/shells/zsh/zsh-deer/default.nix index 735d6a2b761..895ca621cfe 100644 --- a/pkgs/shells/zsh/zsh-deer/default.nix +++ b/pkgs/shells/zsh/zsh-deer/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, perl }: +{ lib, stdenv, fetchFromGitHub, perl }: let version = "1.4"; @@ -25,7 +25,7 @@ in stdenv.mkDerivation { cp deer $out/share/zsh/site-functions/ ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Ranger-like file navigation for zsh"; homepage = "https://github.com/Vifon/deer"; license = licenses.gpl3Plus; diff --git a/pkgs/shells/zsh/zsh-nix-shell/default.nix b/pkgs/shells/zsh/zsh-nix-shell/default.nix index 6db78f1c0f5..20017414cf7 100644 --- a/pkgs/shells/zsh/zsh-nix-shell/default.nix +++ b/pkgs/shells/zsh/zsh-nix-shell/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, pkgs }: +{ lib, stdenv, fetchFromGitHub, pkgs }: # To make use of this derivation, use # `programs.zsh.interactiveShellInit = "source ${pkgs.zsh-nix-shell}/share/zsh-nix-shell/nix-shell.plugin.zsh";` @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { install -D scripts/* --target-directory=$out/share/zsh-nix-shell/scripts ''; - meta = with stdenv.lib; { + meta = with lib; { description = "zsh plugin that lets you use zsh in nix-shell shell"; homepage = src.meta.homepage; license = licenses.bsd3; diff --git a/pkgs/shells/zsh/zsh-prezto/default.nix b/pkgs/shells/zsh/zsh-prezto/default.nix index dffecf617b1..138de38786b 100644 --- a/pkgs/shells/zsh/zsh-prezto/default.nix +++ b/pkgs/shells/zsh/zsh-prezto/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "zsh-prezto"; @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { mkdir -p $out cp ./* $out/ -R ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Prezto is the configuration framework for Zsh; it enriches the command line interface environment with sane defaults, aliases, functions, auto completion, and prompt themes"; homepage = "https://github.com/sorin-ionescu/prezto"; license = licenses.mit; diff --git a/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix b/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix index 906352b8b3e..09d6eb3cf96 100644 --- a/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix +++ b/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, zsh }: +{ lib, stdenv, fetchFromGitHub, zsh }: # To make use of this derivation, use the `programs.zsh.enableSyntaxHighlighting` option @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { installFlags = [ "PREFIX=$(out)" ]; - meta = with stdenv.lib; { + meta = with lib; { description = "Fish shell like syntax highlighting for Zsh"; homepage = "https://github.com/zsh-users/zsh-syntax-highlighting"; license = licenses.bsd3; diff --git a/pkgs/shells/zsh/zsh-you-should-use/default.nix b/pkgs/shells/zsh/zsh-you-should-use/default.nix index 603757c3332..8019e75a859 100644 --- a/pkgs/shells/zsh/zsh-you-should-use/default.nix +++ b/pkgs/shells/zsh/zsh-you-should-use/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "zsh-you-should-use"; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { install -D you-should-use.plugin.zsh $out/share/zsh/plugins/you-should-use/you-should-use.plugin.zsh ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/MichaelAquilina/zsh-you-should-use"; license = licenses.gpl3; description = "ZSH plugin that reminds you to use existing aliases for commands you just typed"; |