2022-07-10 19:40:31 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, nix-update-script
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "sshs";
|
2022-11-06 23:07:56 +00:00
|
|
|
version = "3.4.0";
|
2022-07-10 19:40:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "quantumsheep";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-09-11 07:44:46 +00:00
|
|
|
hash = "sha256-KD971dGm1oQt9GbiUGZm2k4SJrBAA9rnHj7Gu0t3SJw=";
|
2022-07-10 19:40:31 +00:00
|
|
|
};
|
|
|
|
|
2023-09-11 07:44:46 +00:00
|
|
|
vendorHash = "sha256-OCh37wjSs40Q0VQmoc1nXQ4nWddnoUCrI5xgxpxR/Ec=";
|
2022-07-10 19:40:31 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X github.com/quantumsheep/sshs/cmd.Version=${version}" ];
|
|
|
|
|
2022-12-25 22:11:14 +00:00
|
|
|
passthru.updateScript = nix-update-script { };
|
2022-07-10 19:40:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Terminal user interface for SSH";
|
|
|
|
homepage = "https://github.com/quantumsheep/sshs";
|
|
|
|
license = licenses.mit;
|
2022-07-21 22:22:27 +00:00
|
|
|
maintainers = with maintainers; [ not-my-segfault ];
|
2022-07-10 19:40:31 +00:00
|
|
|
};
|
|
|
|
}
|