rio: 0.0.36 -> 0.0.37
[NixPkgs.git] / pkgs / tools / networking / ssh-key-confirmer / default.nix
blob408719f746534f4be3ee1dd2e1358aa603b1584a
1 { lib, fetchFromGitHub, buildGoModule }:
3 buildGoModule rec {
4   pname = "ssh-key-confirmer";
5   version = "0.1";
7   src = fetchFromGitHub {
8     owner = "benjojo";
9     repo = "ssh-key-confirmer";
10     rev = "v${version}";
11     hash = "sha256-CXDjm8PMdCTwHnZWa0fYKel7Rmxq0XBWkfLmoVuSkKM=";
12   };
14   vendorHash = "sha256-CkfZ9dImjdka98eu4xuWZ6Xed7WX6DnXw81Ih7bhPm0=";
16   ldflags = [ "-s" "-w" ];
18   meta = with lib; {
19     description = "Test ssh login key acceptance without having the private key";
20     homepage = "https://github.com/benjojo/ssh-key-confirmer";
21     license = licenses.mit;
22     maintainers = with maintainers; [ oxzi ];
23     mainProgram = "ssh-key-confirmer";
24   };