Commit 7f49fe88 authored by Aidan Gauland's avatar Aidan Gauland Committed by Yt
Browse files

nushellPlugins: inherit version from nushell

These are inheriting nushell.src, but specify the version string
separately.  Either both or neither should be inherited.
parent f66847bb
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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 ];
+2 −3
Original line number Diff line number Diff line
@@ -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 ];
+1 −4
Original line number Diff line number Diff line
@@ -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 ];