2022-07-10 21:40:31 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, nix-update-script
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "sshs";
|
2022-07-22 01:43:09 +02:00
|
|
|
version = "3.3.0";
|
2022-07-10 21:40:31 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "quantumsheep";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-07-22 01:43:09 +02:00
|
|
|
sha256 = "OTyk3EGlpr5k6QSwGmHFoF3cAJKQEEkWJuV53Wi8ook=";
|
2022-07-10 21:40:31 +02:00
|
|
|
};
|
|
|
|
|
2022-07-22 01:43:09 +02:00
|
|
|
vendorSha256 = "wClgX08UbItCpWOkWLgmsy7Ad5LlpvXrStN3JHujVww=";
|
2022-07-10 21:40:31 +02:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X github.com/quantumsheep/sshs/cmd.Version=${version}" ];
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script {
|
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Terminal user interface for SSH";
|
|
|
|
homepage = "https://github.com/quantumsheep/sshs";
|
|
|
|
license = licenses.mit;
|
2022-07-22 00:22:27 +02:00
|
|
|
maintainers = with maintainers; [ not-my-segfault ];
|
2022-07-10 21:40:31 +02:00
|
|
|
};
|
|
|
|
}
|