1{ lib
2, buildGoModule
3, fetchFromGitHub
4, nix-update-script
5}:
6
7buildGoModule rec {
8 pname = "sshs";
9 version = "3.4.0";
10
11 src = fetchFromGitHub {
12 owner = "quantumsheep";
13 repo = pname;
14 rev = version;
15 sha256 = "KD971dGm1oQt9GbiUGZm2k4SJrBAA9rnHj7Gu0t3SJw=";
16 };
17
18 vendorSha256 = "OCh37wjSs40Q0VQmoc1nXQ4nWddnoUCrI5xgxpxR/Ec=";
19
20 ldflags = [ "-s" "-w" "-X github.com/quantumsheep/sshs/cmd.Version=${version}" ];
21
22 passthru.updateScript = nix-update-script { };
23
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 };
30}