Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

termscp: 0.8.2 -> 0.9.0 #182947

Merged
merged 1 commit into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions pkgs/tools/networking/termscp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,25 @@
, openssl
, pkg-config
, rustPlatform
, AppKit
, Cocoa
SuperSandro2000 marked this conversation as resolved.
Show resolved Hide resolved
, Foundation
, Security
, stdenv
}:

rustPlatform.buildRustPackage rec {
pname = "termscp";
version = "0.8.2";
version = "0.9.0";

src = fetchFromGitHub {
owner = "veeso";
repo = pname;
rev = "v${version}";
sha256 = "sha256-7T3VmcI9CWrKROQ0U2du2d8e0A6XnOxpd8Zl0T4w+KQ=";
sha256 = "sha256-iazp3Qx2AivuL+S1Ma/64BLJtE46tc33dq5qsgw+a6Q=";
};

cargoSha256 = "sha256-WuoN7b9Fw2Op8tck4ek8gyufInlbPkDHHtLAsbG1NLE=";
cargoSha256 = "sha256-FBW3Hl67Efnc/sNGM1LQw6msWHCYRj3KwfmSD2lpbUc=";

SuperSandro2000 marked this conversation as resolved.
Show resolved Hide resolved
nativeBuildInputs = [
pkg-config
Expand All @@ -32,10 +34,16 @@ rustPlatform.buildRustPackage rec {
libssh
openssl
] ++ lib.optional stdenv.isDarwin [
AppKit
Cocoa
SuperSandro2000 marked this conversation as resolved.
Show resolved Hide resolved
Foundation
Security
];

NIX_CFLAGS_COMPILE = lib.optionals stdenv.isDarwin [
"-framework" "AppKit"
];

# Requires network access
doCheck = false;

Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11140,7 +11140,7 @@ with pkgs;
termcolor = callPackage ../development/libraries/termcolor { };

termscp = callPackage ../tools/networking/termscp {
inherit (darwin.apple_sdk.frameworks) Foundation Security;
inherit (darwin.apple_sdk.frameworks) AppKit Cocoa Foundation Security;
SuperSandro2000 marked this conversation as resolved.
Show resolved Hide resolved
};

termius = callPackage ../applications/networking/termius { };
Expand Down