nushellPlugins.*: set pnames correctly

Because otherwise:
- The names are inconsistent with the other nushell plugins
- `versionCheckHook` cannot find the binaries without setting a special
  variable

(cherry picked from commit bd065b6888)
This commit is contained in:
Tom van Dijk
2025-06-28 01:46:19 +02:00
parent 6fc0452bbb
commit 5f10f4208c
7 changed files with 7 additions and 7 deletions

View File

@@ -8,7 +8,7 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "nushell_plugin_formats";
pname = "nu_plugin_formats";
inherit (nushell) version src cargoHash;
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];

View File

@@ -9,7 +9,7 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "nushell_plugin_gstat";
pname = "nu_plugin_gstat";
inherit (nushell) version src cargoHash;
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];

View File

@@ -8,7 +8,7 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "nushell_plugin_highlight";
pname = "nu_plugin_highlight";
version = "1.4.5+0.104.0";
src = fetchFromGitHub {

View File

@@ -6,7 +6,7 @@
}:
rustPlatform.buildRustPackage rec {
pname = "nushell_plugin_net";
pname = "nu_plugin_net";
version = "1.10.0";
src = fetchFromGitHub {

View File

@@ -9,7 +9,7 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "nushell_plugin_polars";
pname = "nu_plugin_polars";
inherit (nushell) version src cargoHash;
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];

View File

@@ -10,7 +10,7 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "nushell_plugin_query";
pname = "nu_plugin_query";
inherit (nushell) version src cargoHash;
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];

View File

@@ -8,7 +8,7 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "nushell_plugin_units";
pname = "nu_plugin_units";
version = "0.1.6";
src = fetchFromGitHub {