Skip to content

Commit

Permalink
packages: Updated for nushell v0.102.0, removed deprecated nushell pl…
Browse files Browse the repository at this point in the history
…ugins
  • Loading branch information
aftix committed Feb 15, 2025
1 parent 8fb5923 commit b004ee1
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 79 deletions.
2 changes: 0 additions & 2 deletions home/common/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ in {
nu_plugin_desktop_notifications
nu_plugin_dns
nu_plugin_explore
nu_plugin_port_scan
nu_plugin_port_list
nu_plugin_semver
nu_plugin_strutils
]);
Expand Down
6 changes: 3 additions & 3 deletions packages/nu_plugin_audio_hook.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
}:
rustPlatform.buildRustPackage rec {
pname = "nu_plugin_audio_hook";
version = "8c9290301e672bddef77f6c92c5929144c2f7c5e";
version = "9a7d7d23d0aeffa11a154887541dcde17344d763";

src = fetchFromGitHub {
owner = "FMotalleb";
repo = pname;
rev = version;
sha256 = "sha256-5iCZWNZ1j5AdVSFyiGJ/85pkyRWV7fjFd95LMopeuZ0=";
sha256 = "sha256-Fw/cH2GgmWaNGkZ67nDwr2u4ujFOjQV5T6AbdY0oIyc=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-ZNvWlF+fC2zepWCr9KyYNfJjPH4x4liZoHuj0BV+W9w=";
cargoHash = "sha256-Oa3NkVQVE94QXA5zNeXlcdoahJ51CmmIbmOIl+55xzw=";

nativeBuildInputs = [pkg-config] ++ lib.optionals stdenv.cc.isClang [rustPlatform.bindgenHook];
buildInputs = [alsa-lib];
Expand Down
4 changes: 2 additions & 2 deletions packages/nu_plugin_compress.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
}:
rustPlatform.buildRustPackage rec {
pname = "nu_plugin_compress";
version = "faca57a8cdfb888e1c245860c48ce709a6750a28";
version = "3b5361de385752f48d4265c15bff37c2f11bd0d5";

src = fetchFromGitHub {
owner = "yybit";
repo = pname;
rev = version;
sha256 = "sha256-CbvgEJ6nGbqEhLYlFCCYyERS0im7ehvtT8Zpf7PnZFA=";
sha256 = "sha256-J7UpSYGUaD7TFTzmuz3aZ/rX/NWqBMgDinhexARIFFc=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-+3jcFjgbbz35ZjC5/K5gF6FhU/m+Xu0nGPJWq2/l+Qk=";
Expand Down
4 changes: 2 additions & 2 deletions packages/nu_plugin_dns.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
}:
rustPlatform.buildRustPackage rec {
pname = "nu_plugin_dns";
version = "0453d9adbbadc00e4ff22261cf464d10ea4a4ccc";
version = "3.0.6-unstable-2024-12-09";

src = fetchFromGitHub {
owner = "dead10ck";
repo = pname;
rev = version;
rev = "0453d9adbbadc00e4ff22261cf464d10ea4a4ccc";
sha256 = "sha256-a1EQV/UX4+gB14jHMReLFbOmabZ5r40FgaHO+60IPME=";
};
useFetchCargoVendor = true;
Expand Down
6 changes: 3 additions & 3 deletions packages/nu_plugin_explore.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
}:
rustPlatform.buildRustPackage rec {
pname = "nu_plugin_explore";
version = "023c815e73e193dafe406940912ffb6d0321874d";
version = "18d87a1664d4192797a61647bbac7346508d9723";

src = fetchFromGitHub {
owner = "amtoine";
repo = pname;
rev = version;
sha256 = "sha256-Nne0xwUitm883K59ds2OXDWafsrIp2MGXKUbztcf0uM=";
sha256 = "sha256-9XaKwKi2mxnGEscogKUnW9ByEAqwq/LK4fKrRjB+ozM=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-CwPS9NeHfHTkCHlp+6QVjdI6a7DfJr2fjMm9h2fAbIw=";
cargoHash = "sha256-oxMqJmQMc7Ns/Nt7vjZFx6vs0mmh3hOIv8BtopZ2s6Y=";

nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [rustPlatform.bindgenHook];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
Expand Down
26 changes: 0 additions & 26 deletions packages/nu_plugin_port_list.nix

This file was deleted.

34 changes: 0 additions & 34 deletions packages/nu_plugin_port_scan.nix

This file was deleted.

6 changes: 3 additions & 3 deletions packages/nu_plugin_semver.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
}:
rustPlatform.buildRustPackage rec {
pname = "nu_plugin_semver";
version = "0.11.1";
version = "0.11.2";

src = fetchFromGitHub {
owner = "abusch";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-coSL0FCghQM2a/LXMxMoSmOFO+DUqiF7HYwrhAD7frU=";
sha256 = "sha256-k9LHrFAb4yyJShFFwvSP8M2S+/JH92r3fCUn1NL4Nog=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-yFTjFeuDK7gTvW99cxXOCX3SPa4/Jy1zdQmnxDBlH/8=";
cargoHash = "sha256-3u6MMmNBEUarpp6NXzLtuG3dqb6MX3tQ3zISGyiG2aI=";

nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [rustPlatform.bindgenHook];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
Expand Down
8 changes: 4 additions & 4 deletions packages/nu_plugin_strutils.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
}:
rustPlatform.buildRustPackage rec {
pname = "nu_plugin_strutils";
version = "0.8.0-unstable-2024-12-25";
version = "0.9.0-unstable-2025-02-10";

src = fetchFromGitHub {
owner = "fdncred";
repo = pname;
rev = "e08358d612147b1a7f0b04eef66e4c05b96b21eb";
sha256 = "sha256-38j2SB9ynahlDOHHKB8Iqn07O5dMLcVGBywzUbVKbww=";
rev = "d2e29919841d3a796e51d6724b70213277754948";
sha256 = "sha256-xictRAkMnVEbNjEVO4w9XN0auHX5mcmnyFdlaFoVunA=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-W6vZ2WHRSVinJmpBf8jnVl5E19WIhDjDA9OTipemUyk=";
cargoHash = "sha256-4r5TH3t61TjWMoKuzStuUQM779IpD1t4K98OuOQ2L8M=";

nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [rustPlatform.bindgenHook];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
Expand Down

0 comments on commit b004ee1

Please sign in to comment.