From e4bc74c9137570807f92f231c29862b2495ecd2e Mon Sep 17 00:00:00 2001 From: surfaceflinger Date: Wed, 23 Aug 2023 23:58:26 +0200 Subject: [PATCH] steamguard-cli: init at 0.12.0 --- .../tools/security/steamguard-cli/default.nix | 28 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/tools/security/steamguard-cli/default.nix 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 e3e65dcb5559..3c8280193987 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -38494,6 +38494,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; };