opensc: add darwin frameworks
This commit is contained in:
parent
149307476e
commit
64bf283104
@ -1,6 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, zlib, readline, openssl
|
||||
, libiconv, pcsclite, libassuan, libXt
|
||||
, docbook_xsl, libxslt, docbook_xml_dtd_412
|
||||
, Carbon
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -17,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
autoreconfHook pkgconfig zlib readline openssl pcsclite libassuan
|
||||
libXt libxslt libiconv docbook_xml_dtd_412
|
||||
];
|
||||
] ++ stdenv.lib.optional stdenv.isDarwin Carbon;
|
||||
|
||||
configureFlags = [
|
||||
"--enable-zlib"
|
||||
@ -37,8 +38,6 @@ stdenv.mkDerivation rec {
|
||||
"sysconfdir=$(out)/etc"
|
||||
];
|
||||
|
||||
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Set of libraries and utilities to access smart cards";
|
||||
homepage = https://github.com/OpenSC/OpenSC/wiki;
|
||||
|
@ -3634,7 +3634,9 @@ with pkgs;
|
||||
|
||||
openresolv = callPackage ../tools/networking/openresolv { };
|
||||
|
||||
opensc = callPackage ../tools/security/opensc { };
|
||||
opensc = callPackage ../tools/security/opensc {
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon;
|
||||
};
|
||||
|
||||
openssh =
|
||||
callPackage ../tools/networking/openssh {
|
||||
|
Loading…
Reference in New Issue
Block a user