pcsc-tools: enable darwin build
This commit is contained in:
parent
5b07009546
commit
848b539f97
2 changed files with 6 additions and 2 deletions
|
@ -10,6 +10,7 @@
|
|||
, systemd
|
||||
, dbus
|
||||
, pcsclite
|
||||
, PCSC
|
||||
, wget
|
||||
, coreutils
|
||||
, perlPackages
|
||||
|
@ -33,6 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
];
|
||||
|
||||
buildInputs = [ dbus perlPackages.perl pcsclite ]
|
||||
++ lib.optional stdenv.isDarwin PCSC
|
||||
++ lib.optional stdenv.isLinux systemd;
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -89,6 +91,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
license = licenses.gpl2Plus;
|
||||
mainProgram = "pcsc_scan";
|
||||
maintainers = with maintainers; [ peterhoeg anthonyroussel ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
})
|
||||
|
|
|
@ -11980,7 +11980,9 @@ with pkgs;
|
|||
|
||||
pcsc-scm-scl011 = callPackage ../tools/security/pcsc-scm-scl011 { };
|
||||
|
||||
pcsc-tools = callPackage ../tools/security/pcsc-tools { };
|
||||
pcsc-tools = callPackage ../tools/security/pcsc-tools {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) PCSC;
|
||||
};
|
||||
|
||||
ifdnfc = callPackage ../tools/security/ifdnfc { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue