10 pname = "vault-ssh-plus";
13 src = fetchFromGitHub {
17 hash = "sha256-A6kgMQOGtrRf5lSbheyJ41fc5l9VkiPDVDYGHVh9Hic=";
20 vendorHash = "sha256-FBOmRXD6dW3B9LRKfCa1kzWmds71ndi9go8Lp7lOJlU=";
22 nativeBuildInputs = [ makeWrapper ];
27 "-X main.version=${version}"
31 mv $out/bin/vault-ssh-plus $out/bin/vssh
32 wrapProgram $out/bin/vssh --prefix PATH : ${lib.makeBinPath [ openssh ]};
35 passthru.tests.version = testers.testVersion {
36 package = vault-ssh-plus;
37 command = "vssh --version";
38 version = "v${version}";
42 homepage = "https://github.com/isometry/vault-ssh-plus";
43 changelog = "https://github.com/isometry/vault-ssh-plus/releases/tag/v${version}";
44 description = "Automatically use HashiCorp Vault SSH Client Key Signing with ssh(1)";
46 license = licenses.mit;
47 maintainers = with maintainers; [ lesuisse ];