2024-07-16 09:35:27 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
fetchFromGitHub,
|
|
|
|
testers,
|
|
|
|
sshs,
|
2022-07-10 19:40:31 +00:00
|
|
|
}:
|
|
|
|
|
2024-03-06 09:04:44 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2022-07-10 19:40:31 +00:00
|
|
|
pname = "sshs";
|
2024-08-22 06:45:47 +00:00
|
|
|
version = "4.5.1";
|
2022-07-10 19:40:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "quantumsheep";
|
2024-07-16 09:34:57 +00:00
|
|
|
repo = "sshs";
|
2022-07-10 19:40:31 +00:00
|
|
|
rev = version;
|
2024-08-22 06:45:47 +00:00
|
|
|
hash = "sha256-8tIIpGEQBXfLQ/Bok4KrpDGwoYhIQz/ylg6fUc6mBdc=";
|
2022-07-10 19:40:31 +00:00
|
|
|
};
|
|
|
|
|
2024-08-22 06:45:47 +00:00
|
|
|
cargoHash = "sha256-w+KYaYO3LXUEk4If6LSncS5KZJyNl8JMLGa+NtF3hf0=";
|
2022-07-10 19:40:31 +00:00
|
|
|
|
2024-07-16 09:35:27 +00:00
|
|
|
passthru.tests.version = testers.testVersion { package = sshs; };
|
2022-07-10 19:40:31 +00:00
|
|
|
|
2024-07-16 09:34:57 +00:00
|
|
|
meta = {
|
2022-07-10 19:40:31 +00:00
|
|
|
description = "Terminal user interface for SSH";
|
|
|
|
homepage = "https://github.com/quantumsheep/sshs";
|
2024-07-16 09:34:57 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ not-my-segfault ];
|
2024-03-06 09:04:44 +00:00
|
|
|
mainProgram = "sshs";
|
2022-07-10 19:40:31 +00:00
|
|
|
};
|
|
|
|
}
|