openpgp-card-tools: use new darwin sdk pattern

This commit is contained in:
Nick Cao 2024-11-22 17:17:53 -05:00
parent bbdbf9c935
commit 6b7f41b403
No known key found for this signature in database

View File

@ -8,7 +8,6 @@
, dbus
, testers
, openpgp-card-tools
, darwin
}:
rustPlatform.buildRustPackage rec {
@ -27,10 +26,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles pkg-config rustPlatform.bindgenHook ];
buildInputs = [ pcsclite dbus ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.PCSC
darwin.apple_sdk.frameworks.Security
];
buildInputs = [ pcsclite dbus ];
passthru = {
tests.version = testers.testVersion {