diff options
author | volth <volth@volth.com> | 2019-08-15 12:41:18 +0000 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2019-08-15 13:41:18 +0100 |
commit | 46420bbaa3f8f79ce7b9ee68e98eba1f7bce2db6 (patch) | |
tree | 46b871987347acf0215f8a9bf54df275aed9c496 /pkgs/shells/zsh | |
parent | cff9e6429a4341e924594f5e057b03ca8101b314 (diff) |
treewide: name -> pname (easy cases) (#66585)
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
Diffstat (limited to 'pkgs/shells/zsh')
-rw-r--r-- | pkgs/shells/zsh/antigen/default.nix | 2 | ||||
-rw-r--r-- | pkgs/shells/zsh/gradle-completion/default.nix | 2 | ||||
-rw-r--r-- | pkgs/shells/zsh/grml-zsh-config/default.nix | 2 | ||||
-rw-r--r-- | pkgs/shells/zsh/oh-my-zsh/default.nix | 2 | ||||
-rw-r--r-- | pkgs/shells/zsh/spaceship-prompt/default.nix | 2 | ||||
-rw-r--r-- | pkgs/shells/zsh/zsh-autosuggestions/default.nix | 2 | ||||
-rw-r--r-- | pkgs/shells/zsh/zsh-command-time/default.nix | 2 | ||||
-rw-r--r-- | pkgs/shells/zsh/zsh-completions/default.nix | 2 | ||||
-rw-r--r-- | pkgs/shells/zsh/zsh-history-substring-search/default.nix | 2 | ||||
-rw-r--r-- | pkgs/shells/zsh/zsh-powerlevel9k/default.nix | 2 | ||||
-rw-r--r-- | pkgs/shells/zsh/zsh-syntax-highlighting/default.nix | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/pkgs/shells/zsh/antigen/default.nix b/pkgs/shells/zsh/antigen/default.nix index cf22207ef09c8..c754d7bbe5808 100644 --- a/pkgs/shells/zsh/antigen/default.nix +++ b/pkgs/shells/zsh/antigen/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { version = "2.2.3"; - name = "antigen-${version}"; + pname = "antigen"; src = fetchurl { url = "https://github.com/zsh-users/antigen/releases/download/v${version}/antigen.zsh"; diff --git a/pkgs/shells/zsh/gradle-completion/default.nix b/pkgs/shells/zsh/gradle-completion/default.nix index b9047a93a41ff..ed46a21325c5c 100644 --- a/pkgs/shells/zsh/gradle-completion/default.nix +++ b/pkgs/shells/zsh/gradle-completion/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { - name = "gradle-completion-${version}"; + pname = "gradle-completion"; version = "1.4.1"; src = fetchFromGitHub { diff --git a/pkgs/shells/zsh/grml-zsh-config/default.nix b/pkgs/shells/zsh/grml-zsh-config/default.nix index 0051df7073ba8..2d7dd4f24aa0f 100644 --- a/pkgs/shells/zsh/grml-zsh-config/default.nix +++ b/pkgs/shells/zsh/grml-zsh-config/default.nix @@ -4,7 +4,7 @@ with lib; stdenv.mkDerivation rec { - name = "grml-zsh-config-${version}"; + pname = "grml-zsh-config"; version = "0.16.0"; src = fetchFromGitHub { diff --git a/pkgs/shells/zsh/oh-my-zsh/default.nix b/pkgs/shells/zsh/oh-my-zsh/default.nix index 6afe6d286eede..61e60e97edd80 100644 --- a/pkgs/shells/zsh/oh-my-zsh/default.nix +++ b/pkgs/shells/zsh/oh-my-zsh/default.nix @@ -5,7 +5,7 @@ stdenv.mkDerivation rec { version = "2019-08-07"; - name = "oh-my-zsh-${version}"; + pname = "oh-my-zsh"; rev = "40fafe0f59371d1a9d83b83c614acfd1d740aabb"; src = fetchgit { inherit rev; diff --git a/pkgs/shells/zsh/spaceship-prompt/default.nix b/pkgs/shells/zsh/spaceship-prompt/default.nix index 28b116523ac01..4e089dd4d73c0 100644 --- a/pkgs/shells/zsh/spaceship-prompt/default.nix +++ b/pkgs/shells/zsh/spaceship-prompt/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchFromGitHub }: stdenv.mkDerivation rec{ - name = "spaceship-prompt-${version}"; + pname = "spaceship-prompt"; version = "3.7.1"; src = fetchFromGitHub { diff --git a/pkgs/shells/zsh/zsh-autosuggestions/default.nix b/pkgs/shells/zsh/zsh-autosuggestions/default.nix index 6af1869da7eee..4e00fee3d27ff 100644 --- a/pkgs/shells/zsh/zsh-autosuggestions/default.nix +++ b/pkgs/shells/zsh/zsh-autosuggestions/default.nix @@ -3,7 +3,7 @@ # To make use of this derivation, use the `programs.zsh.enableAutoSuggestions` option stdenv.mkDerivation rec { - name = "zsh-autosuggestions-${version}"; + pname = "zsh-autosuggestions"; version = "0.6.3"; src = fetchFromGitHub { diff --git a/pkgs/shells/zsh/zsh-command-time/default.nix b/pkgs/shells/zsh/zsh-command-time/default.nix index c81c1ea46c5f3..3e403b6232226 100644 --- a/pkgs/shells/zsh/zsh-command-time/default.nix +++ b/pkgs/shells/zsh/zsh-command-time/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { version = "2018-04-30"; - name = "zsh-command-time-${version}"; + pname = "zsh-command-time"; src = fetchFromGitHub { owner = "popstas"; diff --git a/pkgs/shells/zsh/zsh-completions/default.nix b/pkgs/shells/zsh/zsh-completions/default.nix index 726f2b7ad73d3..2ed4301e55ab4 100644 --- a/pkgs/shells/zsh/zsh-completions/default.nix +++ b/pkgs/shells/zsh/zsh-completions/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchFromGitHub}: stdenv.mkDerivation rec { - name = "zsh-completions-${version}"; + pname = "zsh-completions"; version = "0.30.0"; src = fetchFromGitHub { diff --git a/pkgs/shells/zsh/zsh-history-substring-search/default.nix b/pkgs/shells/zsh/zsh-history-substring-search/default.nix index 42de7d48d8318..b752165466701 100644 --- a/pkgs/shells/zsh/zsh-history-substring-search/default.nix +++ b/pkgs/shells/zsh/zsh-history-substring-search/default.nix @@ -1,7 +1,7 @@ { stdenv, lib, fetchFromGitHub }: stdenv.mkDerivation rec { - name = "zsh-history-substring-search-${version}"; + pname = "zsh-history-substring-search"; version = "1.0.1"; src = fetchFromGitHub { diff --git a/pkgs/shells/zsh/zsh-powerlevel9k/default.nix b/pkgs/shells/zsh/zsh-powerlevel9k/default.nix index 30c45ea3c9bff..00e7612b17be3 100644 --- a/pkgs/shells/zsh/zsh-powerlevel9k/default.nix +++ b/pkgs/shells/zsh/zsh-powerlevel9k/default.nix @@ -4,7 +4,7 @@ # `programs.zsh.promptInit = "source ${pkgs.zsh-powerlevel9k}/share/zsh-powerlevel9k/powerlevel9k.zsh-theme";` stdenv.mkDerivation rec { - name = "powerlevel9k-${version}"; + pname = "powerlevel9k"; version = "2017-11-10"; src = fetchFromGitHub { owner = "bhilburn"; diff --git a/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix b/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix index b7b44098fd7a7..741587ef960fa 100644 --- a/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix +++ b/pkgs/shells/zsh/zsh-syntax-highlighting/default.nix @@ -4,7 +4,7 @@ stdenv.mkDerivation rec { version = "0.6.0"; - name = "zsh-syntax-highlighting-${version}"; + pname = "zsh-syntax-highlighting"; src = fetchFromGitHub { owner = "zsh-users"; |