2024-07-01 15:47:52 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
rustPlatform,
|
|
|
|
Security,
|
2021-12-30 13:39:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "fast-ssh";
|
2024-07-01 15:47:52 +00:00
|
|
|
version = "0.3.2";
|
2021-12-30 13:39:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "julien-r44";
|
|
|
|
repo = "fast-ssh";
|
2024-07-01 15:47:52 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-Wn1kwuY1tRJVe9DJexyQ/h+Z1gNtluj78QpBYjeCbSE=";
|
2021-12-30 13:39:12 +00:00
|
|
|
};
|
|
|
|
|
2024-07-01 15:47:52 +00:00
|
|
|
cargoHash = "sha256-CJ3Xx5jaTD01Ai7YAY4vB7RB5lU1BIXq7530B6+KeX4=";
|
2024-01-25 14:12:00 +00:00
|
|
|
|
2021-12-30 13:39:12 +00:00
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "TUI tool to use the SSH config for connections";
|
|
|
|
homepage = "https://github.com/julien-r44/fast-ssh";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "fast-ssh";
|
2021-12-30 13:39:12 +00:00
|
|
|
};
|
|
|
|
}
|