Unverified Commit 4879cb39 authored by Emily's avatar Emily Committed by GitHub
Browse files

Merge pull request #263170 from surfaceflinger/steamguard-improve

steamguard-cli: by-name + shell completions, 0.12.2 -> 0.12.3
parents cf0f38c4 0ede6c69
Loading
Loading
Loading
Loading
+13 −4
Original line number Diff line number Diff line
{ 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}";
+0 −2
Original line number Diff line number Diff line
@@ -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;
  };