mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
openpgp-card-tools: use new darwin sdk pattern
This commit is contained in:
parent
bbdbf9c935
commit
6b7f41b403
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user