about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/ssh-key-confirmer/default.nix
blob: ed8b9cac734bd43950a3fc95e8c22d708aa0ae80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchFromGitHub, buildGoModule }:

buildGoModule rec {
  pname = "ssh-key-confirmer";
  version = "0.1";

  src = fetchFromGitHub {
    owner = "benjojo";
    repo = "ssh-key-confirmer";
    rev = "v${version}";
    hash = "sha256-CXDjm8PMdCTwHnZWa0fYKel7Rmxq0XBWkfLmoVuSkKM=";
  };

  vendorHash = "sha256-CkfZ9dImjdka98eu4xuWZ6Xed7WX6DnXw81Ih7bhPm0=";

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "Test ssh login key acceptance without having the private key";
    homepage = "https://github.com/benjojo/ssh-key-confirmer";
    license = licenses.mit;
    maintainers = with maintainers; [ oxzi ];
  };
}