opensc: add darwin frameworks

This commit is contained in:
Daiderd Jordan 2017-09-17 16:08:13 +02:00
parent 149307476e
commit 64bf283104
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
2 changed files with 5 additions and 4 deletions

View File

@ -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;

View File

@ -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 {