Merge pull request #263170 from surfaceflinger/steamguard-improve

steamguard-cli: by-name + shell completions, 0.12.2 -> 0.12.3
This commit is contained in:
Emily 2023-10-26 00:04:29 +02:00 committed by GitHub
commit 4879cb3989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 6 deletions

View File

@ -1,20 +1,29 @@
{ lib
{ installShellFiles
, lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "steamguard-cli";
version = "0.12.2";
version = "0.12.3";
src = fetchFromGitHub {
owner = "dyc3";
repo = pname;
rev = "v${version}";
hash = "sha256-p3v7XiOXWH6F1oIiARr0K3sYOXCcNS97+THIG7k72wk=";
hash = "sha256-qfyo63u6gBkGNxVBmFsz9YXs6duRU/VnFly40C13vI8=";
};
cargoHash = "sha256-qQA7UdtFqGPyCRHdV+FfbQFiPaOeW4rT4dYC3BeHDw0=";
cargoHash = "sha256-B8/WCSHC905wDxYGLYVMT0QxgMiGR0/VMVzOlyTKPss=";
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installShellCompletion --cmd steamguard \
--bash <($out/bin/steamguard completion --shell bash) \
--fish <($out/bin/steamguard completion --shell fish) \
--zsh <($out/bin/steamguard completion --shell zsh) \
'';
meta = with lib; {
changelog = "https://github.com/dyc3/steamguard-cli/releases/tag/v${version}";

View File

@ -38381,8 +38381,6 @@ with pkgs;
steamback = python311.pkgs.callPackage ../tools/games/steamback { };
steamguard-cli = callPackage ../tools/security/steamguard-cli { };
protontricks = python3Packages.callPackage ../tools/package-management/protontricks {
inherit winetricks steam-run yad;
};