sshs: 4.2.1 -> 4.4.1

This commit is contained in:
aleksana 2024-07-16 17:34:57 +08:00
parent 74d38fdb30
commit 8ec1df7609
3 changed files with 7 additions and 1099 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,31 +0,0 @@
[package]
name = "sshs"
version = "4.2.1"
edition = "2021"
[[bin]]
name = "sshs"
path = "src/main.rs"
[profile.release]
strip = true
lto = true
codegen-units = 1
[dependencies]
anyhow = "1.0.80"
clap = { version = "4.5.0", features = ["derive"] }
crossterm = "0.27.0"
fuzzy-matcher = "0.3.7"
glob = "0.3.1"
handlebars = "5.1.0"
itertools = "0.12.1"
ratatui = "0.26.1"
regex = { version = "1.10.3", default-features = false, features = ["std"] }
serde = { version = "1.0.197", features = ["derive"] }
shellexpand = "3.1.0"
shlex = "1.3.0"
strum = "0.26.1"
strum_macros = "0.26.1"
tui-input = "0.8.0"
unicode-width = "0.1.11"

View File

@ -7,34 +7,26 @@
rustPlatform.buildRustPackage rec {
pname = "sshs";
version = "4.2.1";
version = "4.4.1";
src = fetchFromGitHub {
owner = "quantumsheep";
repo = pname;
repo = "sshs";
rev = version;
hash = "sha256-phVwNPElQOTgsrDxzyUcDMByxi7t1IIPFCEHJTXiBdY=";
hash = "sha256-07iivB9U0rFnoohjBX7EfdoDq4VDMALWy4CWiSrrg58=";
};
cargoLock = {
# Patch version output
lockFile = ./Cargo.lock;
};
postPatch = ''
ln -sf ${./Cargo.toml} Cargo.toml
ln -sf ${./Cargo.lock} Cargo.lock
'';
cargoHash = "sha256-W6PuwDcb2VAGX7bfeZtr/xNuLRTUCUgTc/KvvUinv7k=";
passthru.tests.version = testers.testVersion {
package = sshs;
};
meta = with lib; {
meta = {
description = "Terminal user interface for SSH";
homepage = "https://github.com/quantumsheep/sshs";
license = licenses.mit;
maintainers = with maintainers; [ not-my-segfault ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ not-my-segfault ];
mainProgram = "sshs";
};
}