1{ lib
2, stdenv
3, fetchFromGitHub
4, rustPlatform
5, Security
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "fast-ssh";
10 version = "0.3.1";
11
12 src = fetchFromGitHub {
13 owner = "julien-r44";
14 repo = "fast-ssh";
15 rev = "v${version}";
16 sha256 = "sha256-eHJdMe8RU6Meg/9+NCfIneD5BqNUc2yIiQ8Z5UqUBUI=";
17 };
18
19 cargoSha256 = "sha256-sIQNoH3UWX3SwCFCPZEREIFR7C28ml4oGsrq6wuOAT0=";
20
21 buildInputs = lib.optional stdenv.isDarwin Security;
22
23 meta = with lib; {
24 description = "TUI tool to use the SSH config for connections";
25 homepage = "https://github.com/julien-r44/fast-ssh";
26 license = licenses.mit;
27 maintainers = with maintainers; [ fab ];
28 };
29}