depot/third_party/nixpkgs/pkgs/tools/security/steamguard-cli/default.nix

29 lines
805 B
Nix
Raw Normal View History

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "steamguard-cli";
version = "0.12.2";
src = fetchFromGitHub {
owner = "dyc3";
repo = pname;
rev = "v${version}";
hash = "sha256-p3v7XiOXWH6F1oIiARr0K3sYOXCcNS97+THIG7k72wk=";
};
cargoHash = "sha256-qQA7UdtFqGPyCRHdV+FfbQFiPaOeW4rT4dYC3BeHDw0=";
meta = with lib; {
changelog = "https://github.com/dyc3/steamguard-cli/releases/tag/v${version}";
description = "A linux utility for generating 2FA codes for Steam and managing Steam trade confirmations.";
homepage = "https://github.com/dyc3/steamguard-cli";
license = with licenses; [ gpl3Only ];
mainProgram = "steamguard";
maintainers = with maintainers; [ surfaceflinger ];
platforms = platforms.linux;
};
}