Merge pull request #197995 from zendo/update-termscp

termscp: 0.9.0 -> 0.10.0
This commit is contained in:
Fabian Affolter
2022-10-27 17:44:52 +02:00
committed by GitHub
+6 -5
View File
@@ -1,7 +1,6 @@
{ lib
, dbus
, fetchFromGitHub
, libssh
, openssl
, pkg-config
, rustPlatform
@@ -14,16 +13,16 @@
rustPlatform.buildRustPackage rec {
pname = "termscp";
version = "0.9.0";
version = "0.10.0";
src = fetchFromGitHub {
owner = "veeso";
repo = pname;
rev = "v${version}";
sha256 = "sha256-iazp3Qx2AivuL+S1Ma/64BLJtE46tc33dq5qsgw+a6Q=";
hash = "sha256-AyDENQj73HzNh1moO/KJl7OG80w65XiYmIl8d9/iAtE=";
};
cargoSha256 = "sha256-FBW3Hl67Efnc/sNGM1LQw6msWHCYRj3KwfmSD2lpbUc=";
cargoHash = "sha256-NgBQvWtwkAvp0V7zWGw+lNAcVqqDMAeNC0KNIBrwjEE=";
nativeBuildInputs = [
pkg-config
@@ -31,7 +30,6 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
dbus
libssh
openssl
] ++ lib.optionals stdenv.isDarwin [
AppKit
@@ -40,6 +38,9 @@ rustPlatform.buildRustPackage rec {
Security
];
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;
NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [
"-framework" "AppKit"
];