nushellPlugins: normalise formatting across similar derivations
This commit is contained in:
parent
eea9d62c0a
commit
be2e62a36d
@ -12,13 +12,17 @@ rustPlatform.buildRustPackage rec {
|
|||||||
pname = "nushell_plugin_formats";
|
pname = "nushell_plugin_formats";
|
||||||
inherit (nushell) version src;
|
inherit (nushell) version 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 ];
|
||||||
cargoBuildFlags = [ "--package nu_plugin_formats" ];
|
cargoBuildFlags = [ "--package nu_plugin_formats" ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
cargo test --manifest-path crates/nu_plugin_formats/Cargo.toml
|
cargo test --manifest-path crates/nu_plugin_formats/Cargo.toml
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A formats plugin for Nushell";
|
description = "A formats plugin for Nushell";
|
||||||
homepage = "https://github.com/nushell/nushell/tree/${version}/crates/nu_plugin_formats";
|
homepage = "https://github.com/nushell/nushell/tree/${version}/crates/nu_plugin_formats";
|
||||||
|
@ -12,13 +12,17 @@ rustPlatform.buildRustPackage rec {
|
|||||||
pname = "nushell_plugin_gstat";
|
pname = "nushell_plugin_gstat";
|
||||||
inherit (nushell) version src;
|
inherit (nushell) version 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 ];
|
||||||
cargoBuildFlags = [ "--package nu_plugin_gstat" ];
|
cargoBuildFlags = [ "--package nu_plugin_gstat" ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
cargo test --manifest-path crates/nu_plugin_gstat/Cargo.toml
|
cargo test --manifest-path crates/nu_plugin_gstat/Cargo.toml
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A git status plugin for Nushell";
|
description = "A git status plugin for Nushell";
|
||||||
homepage = "https://github.com/nushell/nushell/tree/${version}/crates/nu_plugin_gstat";
|
homepage = "https://github.com/nushell/nushell/tree/${version}/crates/nu_plugin_gstat";
|
||||||
|
@ -13,16 +13,13 @@ rustPlatform.buildRustPackage {
|
|||||||
cargoHash = "sha256-xyty3GfI+zNkuHs7LYHBctqXUHZ4/MNNcnnfYvI18do=";
|
cargoHash = "sha256-xyty3GfI+zNkuHs7LYHBctqXUHZ4/MNNcnnfYvI18do=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ];
|
buildInputs = lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ];
|
||||||
|
|
||||||
cargoBuildFlags = [ "--package nu_plugin_query" ];
|
cargoBuildFlags = [ "--package nu_plugin_query" ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
cargo test --manifest-path crates/nu_plugin_query/Cargo.toml
|
cargo test --manifest-path crates/nu_plugin_query/Cargo.toml
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru.updateScript = nix-update-script { };
|
||||||
updateScript = nix-update-script { };
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Nushell plugin to query JSON, XML, and various web data";
|
description = "A Nushell plugin to query JSON, XML, and various web data";
|
||||||
|
Loading…
Reference in New Issue
Block a user