Merge pull request #233316 from gkze/fix/procs-update

procs: 0.13.4 -> 0.14.0
This commit is contained in:
Sandro 2023-05-23 01:21:17 +02:00 committed by GitHub
commit 95be45f158
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "procs"; pname = "procs";
version = "0.13.4"; version = "0.14.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dalance"; owner = "dalance";
repo = pname; repo = "procs";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-PTUATmnpJGeY0Ushf7sAapsZ51VC2IdnKMzYJX5+h9A="; hash = "sha256-DoH9XxPRKGd+tex8MdbtkhM+V8C1wDMv/GZcB4aMCPc=";
}; };
cargoHash = "sha256-jxGdozSEIop2jBL4lK3ZcEuuR7P8qDoQD/Lrl4yaBN0="; cargoHash = "sha256-B+LpUErsvtLYn+Xvq4KNBpLR9WYe38yMWHUNsd9jIs8=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
postInstall = '' postInstall = ''
for shell in bash fish zsh; do for shell in bash fish zsh; do
$out/bin/procs --completion $shell $out/bin/procs --gen-completion $shell
done done
installShellCompletion procs.{bash,fish} --zsh _procs installShellCompletion procs.{bash,fish} --zsh _procs
''; '';