Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / sshs / default.nix
blob74eecc7979c082df407c919b22de6c03cd2400c3
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 , nix-update-script
5 }:
7 buildGoModule rec {
8   pname = "sshs";
9   version = "3.4.0";
11   src = fetchFromGitHub {
12     owner = "quantumsheep";
13     repo = pname;
14     rev = version;
15     hash = "sha256-KD971dGm1oQt9GbiUGZm2k4SJrBAA9rnHj7Gu0t3SJw=";
16   };
18   vendorHash = "sha256-OCh37wjSs40Q0VQmoc1nXQ4nWddnoUCrI5xgxpxR/Ec=";
20   ldflags = [ "-s" "-w" "-X github.com/quantumsheep/sshs/cmd.Version=${version}" ];
22   passthru.updateScript = nix-update-script { };
24   meta = with lib; {
25     description = "Terminal user interface for SSH";
26     homepage = "https://github.com/quantumsheep/sshs";
27     license = licenses.mit;
28     maintainers = with maintainers; [ not-my-segfault ];
29   };