Provide NixOS module option to enable the paperless exporter. (#242084)
[NixPkgs.git] / pkgs / by-name / ss / ssh-key-confirmer / package.nix
blob7a9add923ca0d05a5daff10e06e7a290e05c5a35
2   lib,
3   fetchFromGitHub,
4   buildGoModule,
5 }:
7 buildGoModule rec {
8   pname = "ssh-key-confirmer";
9   version = "0.1";
11   src = fetchFromGitHub {
12     owner = "benjojo";
13     repo = "ssh-key-confirmer";
14     rev = "v${version}";
15     hash = "sha256-CXDjm8PMdCTwHnZWa0fYKel7Rmxq0XBWkfLmoVuSkKM=";
16   };
18   vendorHash = "sha256-CkfZ9dImjdka98eu4xuWZ6Xed7WX6DnXw81Ih7bhPm0=";
20   ldflags = [
21     "-s"
22     "-w"
23   ];
25   meta = with lib; {
26     description = "Test ssh login key acceptance without having the private key";
27     homepage = "https://github.com/benjojo/ssh-key-confirmer";
28     license = licenses.mit;
29     maintainers = with maintainers; [ oxzi ];
30     mainProgram = "ssh-key-confirmer";
31   };