diff --git a/pkgs/tools/security/steamguard-cli/default.nix b/pkgs/tools/security/steamguard-cli/default.nix new file mode 100644 index 000000000000..b5c53ac3ee24 --- /dev/null +++ b/pkgs/tools/security/steamguard-cli/default.nix @@ -0,0 +1,28 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "steamguard-cli"; + version = "0.12.0"; + + src = fetchFromGitHub { + owner = "dyc3"; + repo = pname; + rev = "v${version}"; + hash = "sha256-WCEMZTi9/EI8JaUM5w2xJkx0x3DoaByORgVqw1TPcgI="; + }; + + cargoHash = "sha256-FVjL0tFndJNsL5oZSSqBvMtCEPqzf5xZGd8NaV5nmr4="; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7f5b28d073f6..54f20727d888 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -38570,6 +38570,8 @@ 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; };