nushellPlugins: inherit version from nushell
These are inheriting nushell.src, but specify the version string separately. Either both or neither should be inherited.
This commit is contained in:
parent
f66847bb37
commit
7f49fe88bb
@ -7,10 +7,9 @@
|
||||
, Foundation
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nushell_plugin_formats";
|
||||
version = "0.85.0";
|
||||
src = nushell.src;
|
||||
inherit (nushell) version src;
|
||||
cargoHash = "sha256-WS8VRpJnn/VWS7GUkGowFf51ifUx0SbEZzcoTfx2dp0=";
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ IOKit Foundation ];
|
||||
|
@ -7,10 +7,9 @@
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nushell_plugin_gstat";
|
||||
version = "0.85.0";
|
||||
src = nushell.src;
|
||||
inherit (nushell) version src;
|
||||
cargoHash = "sha256-6luY3SIRRd9vaY9KIJcj8Q974FW0LtAvRjVpdpzkdLo=";
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
@ -9,10 +9,7 @@
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "nushell_plugin_query";
|
||||
version = "0.85.0";
|
||||
|
||||
src = nushell.src;
|
||||
|
||||
inherit (nushell) version src;
|
||||
cargoHash = "sha256-xyty3GfI+zNkuHs7LYHBctqXUHZ4/MNNcnnfYvI18do=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ];
|
||||
|
Loading…
Reference in New Issue
Block a user