5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
28 lines
805 B
Nix
28 lines
805 B
Nix
{ 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;
|
|
};
|
|
}
|