blob: 5d899fa541840ce6336e25e2b4daa60ea6145ab3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "fast-ssh";
version = "0.3.1";
src = fetchFromGitHub {
owner = "julien-r44";
repo = "fast-ssh";
rev = "v${version}";
sha256 = "sha256-eHJdMe8RU6Meg/9+NCfIneD5BqNUc2yIiQ8Z5UqUBUI=";
};
cargoSha256 = "sha256-sIQNoH3UWX3SwCFCPZEREIFR7C28ml4oGsrq6wuOAT0=";
patches = [
# Can be removed as soon as this is is merged: https://github.com/Julien-R44/fast-ssh/pull/22
(fetchpatch {
name = "fix-ambiguous-as_ref.patch";
url = "https://github.com/Julien-R44/fast-ssh/commit/c082a64a4b412380b2ab145c24161fdaa26175db.patch";
hash = "sha256-egkoJF+rQiuClNL8ltzmB7oHngbpOxO29rlwZ3nELOE=";
})
];
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 ];
};
}
|