nixpkgs/pkgs/by-name/tk/tkey-ssh-agent/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

28 lines
706 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "tkey-ssh-agent";
version = "1.0.0";
src = fetchFromGitHub {
owner = "tillitis";
repo = "tkey-ssh-agent";
rev = "v${version}";
hash = "sha256-Uf3VJJfZn4UYX1q79JdaOfrore+L/Mic3whzpP32JV0=";
};
vendorHash = "sha256-SFyp1UB6+m7/YllRyY56SwweJ3X175bChXQYiG2M7zM=";
subPackages = [
"cmd/tkey-ssh-agent"
];
meta = with lib; {
description = "SSH Agent for TKey, the flexible open hardware/software USB security key";
homepage = "https://tillitis.se/app/tkey-ssh-agent/";
license = licenses.gpl2;
maintainers = with maintainers; [ bbigras ];
platforms = platforms.all;
};
}