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
This commit is contained in:
Tom van Dijk
2025-06-28 01:46:19 +02:00
parent f79eb5cfc9
commit bd065b6888
8 changed files with 8 additions and 8 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_hcl";
pname = "nu_plugin_hcl";
version = "0.105.1";
src = fetchFromGitHub {

View File

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

View File

@@ -7,7 +7,7 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
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 {