lol

Merge pull request #180917 from marsam/update-kbs2

kbs2: 0.5.1 -> 0.6.0

authored by

Mario Rodas and committed by
GitHub
de5b3dd1 8adfc296

+7 -7
+7 -7
pkgs/tools/security/kbs2/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "kbs2"; 5 - version = "0.5.1"; 5 + version = "0.6.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "woodruffw"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-GKjumkeo7aAYaECa6NoXCiXU2kqekBX3wCysRz8seW4="; 11 + sha256 = "sha256-clbd4xHHGpFIr4s3Jocw4oQ3GbyGWMxZEVgj6JpVK94="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-rJ110kd18V2VGj0AHix3/vI09FG2kJ+TTOYKIthIrjQ="; 14 + cargoSha256 = "sha256-gfrC9TOs/Vz3K1gVr6MJ1QAKCE5WOD8VZ/tjOw3Y1uI="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ] 17 17 ++ lib.optionals stdenv.isLinux [ python3 ]; ··· 30 30 postInstall = '' 31 31 mkdir -p $out/share/kbs2 32 32 cp -r contrib/ $out/share/kbs2 33 - for shell in bash fish zsh; do 34 - $out/bin/kbs2 --completions $shell > kbs2.$shell 35 - installShellCompletion kbs2.$shell 36 - done 33 + installShellCompletion --cmd kbs2 \ 34 + --bash <($out/bin/kbs2 --completions bash) \ 35 + --fish <($out/bin/kbs2 --completions fish) \ 36 + --zsh <($out/bin/kbs2 --completions zsh) 37 37 ''; 38 38 39 39 meta = with lib; {