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
|
, Foundation
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "nushell_plugin_formats";
|
pname = "nushell_plugin_formats";
|
||||||
version = "0.85.0";
|
inherit (nushell) version src;
|
||||||
src = nushell.src;
|
|
||||||
cargoHash = "sha256-WS8VRpJnn/VWS7GUkGowFf51ifUx0SbEZzcoTfx2dp0=";
|
cargoHash = "sha256-WS8VRpJnn/VWS7GUkGowFf51ifUx0SbEZzcoTfx2dp0=";
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ IOKit Foundation ];
|
buildInputs = lib.optionals stdenv.isDarwin [ IOKit Foundation ];
|
||||||
|
|
|
@ -7,10 +7,9 @@
|
||||||
, Security
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "nushell_plugin_gstat";
|
pname = "nushell_plugin_gstat";
|
||||||
version = "0.85.0";
|
inherit (nushell) version src;
|
||||||
src = nushell.src;
|
|
||||||
cargoHash = "sha256-6luY3SIRRd9vaY9KIJcj8Q974FW0LtAvRjVpdpzkdLo=";
|
cargoHash = "sha256-6luY3SIRRd9vaY9KIJcj8Q974FW0LtAvRjVpdpzkdLo=";
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
|
@ -9,10 +9,7 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
pname = "nushell_plugin_query";
|
pname = "nushell_plugin_query";
|
||||||
version = "0.85.0";
|
inherit (nushell) version src;
|
||||||
|
|
||||||
src = nushell.src;
|
|
||||||
|
|
||||||
cargoHash = "sha256-xyty3GfI+zNkuHs7LYHBctqXUHZ4/MNNcnnfYvI18do=";
|
cargoHash = "sha256-xyty3GfI+zNkuHs7LYHBctqXUHZ4/MNNcnnfYvI18do=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ];
|
buildInputs = lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ];
|
||||||
|
|
Loading…
Reference in a new issue