Skip to content

Commit

Permalink
nushell 0.100.0 -> 0.101.0 (NixOS#367658)
Browse files Browse the repository at this point in the history
  • Loading branch information
happysalada authored Dec 24, 2024
2 parents e4646bd + fd4b759 commit ec6d0fa
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 14 deletions.
6 changes: 3 additions & 3 deletions pkgs/shells/nushell/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}:

let
version = "0.100.0";
version = "0.101.0";
in

rustPlatform.buildRustPackage {
Expand All @@ -33,10 +33,10 @@ rustPlatform.buildRustPackage {
owner = "nushell";
repo = "nushell";
rev = "refs/tags/${version}";
hash = "sha256-lbVvKpaG9HSm2W+NaVUuEOxTNUIf0iRATTVDKFPjqV4=";
hash = "sha256-Ptctp2ECypmSd0BHa6l09/U7wEjtLsvRSQV/ISz9+3w=";
};

cargoHash = "sha256-omC/qcpgy65Md1MC0QGUVCRVNl9sWlFcCRxdS4aeU+g=";
cargoHash = "sha256-KOIVlF8V5bdtGIFbboTQpVSieETegA6iF7Hi6/F+2bE=";

nativeBuildInputs =
[ pkg-config ]
Expand Down
2 changes: 1 addition & 1 deletion pkgs/shells/nushell/plugins/formats.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
rustPlatform.buildRustPackage rec {
pname = "nushell_plugin_formats";
inherit (nushell) version src;
cargoHash = "sha256-Ftjcic/2rN5cYlzD7C9HyWWm4a37+s/mqRMHH4+4uBA=";
cargoHash = "sha256-igmSU2ziLfQbcEvHiQcuU8I8SeEN34gimBlcXtfuC0o=";

nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
Expand Down
2 changes: 1 addition & 1 deletion pkgs/shells/nushell/plugins/gstat.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
rustPlatform.buildRustPackage rec {
pname = "nushell_plugin_gstat";
inherit (nushell) version src;
cargoHash = "sha256-IGOT3tlFUjnD5DBbi8zERPcL7OiP8lwKtK4GVOR53xU=";
cargoHash = "sha256-xoiKsn3XkKkw+KpgnIPFw78JN3ERxkj+2SgrCoe9HOU=";

nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
Expand Down
10 changes: 6 additions & 4 deletions pkgs/shells/nushell/plugins/highlight.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@

rustPlatform.buildRustPackage rec {
pname = "nushell_plugin_highlight";
version = "1.3.2+0.99.0";
version = "1.4.2+0.101.0";

src = fetchFromGitHub {
repo = "nu-plugin-highlight";
owner = "cptpiepmatz";
rev = "refs/tags/v${version}";
hash = "sha256-rYS5Nqk+No1BhmEPzl+MX+aCH8fzHqdp8U8PKYSWVcc=";
hash = "sha256-YE8O3KL0SSu6FYFyMCNpyd4WLefVQP7FSNr82D+Jwqs=";
fetchSubmodules = true;
};
cargoHash = "sha256-VHx+DLS+v4p++KI+ZLzJpFk4A5Omwy6E0vJ/lgP3pC0=";

cargoHash = "sha256-LDVKZLktP4+W04O8EDkMs8dgViHyzA/b7k+/oJS2pro=";

nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
Expand All @@ -35,7 +37,7 @@ rustPlatform.buildRustPackage rec {
passthru.updateScript = nix-update-script { };

meta = with lib; {
description = "A nushell plugin that will inspect a file and return information based on it's magic number.";
description = "A nushell plugin for syntax highlighting.";
mainProgram = "nu_plugin_highlight";
homepage = "https://github.com/cptpiepmatz/nu-plugin-highlight";
license = licenses.mit;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/shells/nushell/plugins/polars.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
pname = "nushell_plugin_polars";
inherit (nushell) version src;

cargoHash = "sha256-CMrq0UVJxXoyHo9OvatW9tlknqzOuK70NI8H/ZgbYBY=";
cargoHash = "sha256-rzTXVde0ZqgJQb1Hs3nvo9v1k+0UKkgKlTym4pukvuk=";

nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
buildInputs =
Expand Down
2 changes: 1 addition & 1 deletion pkgs/shells/nushell/plugins/query.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
rustPlatform.buildRustPackage rec {
pname = "nushell_plugin_query";
inherit (nushell) version src;
cargoHash = "sha256-xztQzfe/ZjG3YvQMDN3ADtWIcjUr3thPxbPjOKKvB9Q=";
cargoHash = "sha256-OuunFi3zUIgxWol30btAR71TU7Jc++IhlZuM56KpM/Q=";

nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
buildInputs =
Expand Down
6 changes: 3 additions & 3 deletions pkgs/shells/nushell/plugins/units.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@

rustPlatform.buildRustPackage rec {
pname = "nushell_plugin_units";
version = "0.1.3";
version = "0.1.4";

src = fetchFromGitHub {
repo = "nu_plugin_units";
owner = "JosephTLyons";
rev = "v${version}";
hash = "sha256-zPN18ECzh2/l0kxp+Vyp3d9kCq3at/7SqMYbV3WDV3I=";
hash = "sha256-iDRrA8bvufV92ADeG+eF3xu7I/4IinJcSxEkwuhkHlg=";
};
cargoHash = "sha256-6NWyuErdxj7//wW4L7ijW4RiWqdwbeTrelIjpisAGkg=";
cargoHash = "sha256-if8uvDRwr6p5VENdls9mIfECiu/zDybcpkphZLHRHe8=";

nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
Expand Down

0 comments on commit ec6d0fa

Please sign in to comment.