15 rustPlatform.buildRustPackage rec {
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-/Mnoljgp87ML6+3vV1vZTFO0TSY5hr8E8U1fXJq31pE=";
26 cargoHash = "sha256-xq21cncEYNSwDiKvVSM1J2Jz3TqOkYMK3gckKpM5+6E=";
36 ] ++ lib.optionals stdenv.isDarwin [
43 # Needed to get openssl-sys to use pkg-config.
44 OPENSSL_NO_VENDOR = 1;
46 env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [
50 # Requires network access
54 description = "A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3/SMB";
55 homepage = "https://github.com/veeso/termscp";
56 changelog = "https://github.com/veeso/termscp/blob/v${version}/CHANGELOG.md";
57 license = with licenses; [ mit ];
58 maintainers = with maintainers; [ fab ];
59 mainProgram = "termscp";