Merge pull request #249404 from stigtsp/package/ssh-tpm-agent-init

ssh-tpm-agent: init at 0.3.1

authored by Stig and committed by GitHub 6b7672b3 42eb76d2

+34
+34
pkgs/by-name/ss/ssh-tpm-agent/package.nix
··· 1 + { lib 2 + , buildGo122Module 3 + , fetchFromGitHub 4 + , openssl 5 + }: 6 + 7 + buildGo122Module rec { 8 + pname = "ssh-tpm-agent"; 9 + version = "0.3.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "Foxboron"; 13 + repo = "ssh-tpm-agent"; 14 + rev = "v${version}"; 15 + hash = "sha256-8CGSiCOcns4cWkYWqibs6hAFRipYabKPCpkhxF4OE8w="; 16 + }; 17 + 18 + proxyVendor = true; 19 + 20 + vendorHash = "sha256-zUAIesBeuh1zlxXcjKSNmMawZGgUr9z3NzT0XKn/YCQ="; 21 + 22 + buildInputs = [ 23 + openssl 24 + ]; 25 + 26 + meta = with lib; { 27 + description = "SSH agent with support for TPM sealed keys for public key authentication"; 28 + homepage = "https://github.com/Foxboron/ssh-agent-tpm"; 29 + license = licenses.mit; 30 + platforms = platforms.linux; 31 + maintainers = with maintainers; [ sgo ]; 32 + mainProgram = "ssh-tpm-agent"; 33 + }; 34 + }