termscp: 1.15.0 -> 1.16.1 (#355461)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-14 05:10:39 +01:00 committed by GitHub
commit a52c8c81cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,61 +1,74 @@
{ lib
, stdenv
, dbus
, fetchFromGitHub
, openssl
, pkg-config
, rustPlatform
, AppKit
, Cocoa
, Foundation
, Security
, samba
{
lib,
stdenv,
dbus,
fetchFromGitHub,
openssl,
pkg-config,
rustPlatform,
AppKit,
Cocoa,
Foundation,
Security,
samba,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "termscp";
version = "0.15.0";
version = "0.16.1";
src = fetchFromGitHub {
owner = "veeso";
repo = "termscp";
rev = "refs/tags/v${version}";
hash = "sha256-/WYhwt/GAULX/UY1GyqzauaMRlVuvAwwS0DNfYB7aD4=";
hash = "sha256-tR+jfFdCSsf+WR8VUX60/mdfsp7cX9jUDI+CKIZkgEE=";
};
cargoHash = "sha256-OqrJpVb9EF22OGP5SOIfEUg66+T96qcN3GH+fs72+7A=";
cargoHash = "sha256-g6A8rNOUduhdwSqunDlZvO7E07GmDgb1o2FVohFAcL0=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
dbus
openssl
samba
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
AppKit
Cocoa
Foundation
Security
];
buildInputs =
[
dbus
openssl
samba
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
AppKit
Cocoa
Foundation
Security
];
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.hostPlatform.isDarwin [
"-framework" "AppKit"
]);
env.NIX_CFLAGS_COMPILE = toString (
lib.optionals stdenv.hostPlatform.isDarwin [
"-framework"
"AppKit"
]
);
# Requires network access
doCheck = false;
meta = with lib; {
passthru = {
updateScript = nix-update-script { };
};
meta = {
changelog = "https://github.com/veeso/termscp/blob/v${version}/CHANGELOG.md";
description = "Feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3/SMB";
homepage = "https://github.com/veeso/termscp";
changelog = "https://github.com/veeso/termscp/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
license = lib.licenses.mit;
mainProgram = "termscp";
maintainers = with lib.maintainers; [
fab
];
};
}