@@ -1,6 +1,7 @@
11{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, zlib, readline, openssl
22, libiconv, pcsclite, libassuan, libXt
33, docbook_xsl, libxslt, docbook_xml_dtd_412
4+, Carbon
45}:
56
67stdenv.mkDerivation rec {
@@ -17,7 +18,7 @@ stdenv.mkDerivation rec {
1718 buildInputs = [
1819 autoreconfHook pkgconfig zlib readline openssl pcsclite libassuan
1920 libXt libxslt libiconv docbook_xml_dtd_412
20− ];
21+ ] ++ stdenv.lib.optional stdenv.isDarwin Carbon;
2122
2223 configureFlags = [
2324 "--enable-zlib"
@@ -37,8 +38,6 @@ stdenv.mkDerivation rec {
3738 "sysconfdir=$(out)/etc"
3839 ];
3940
40−
41−
4241 meta = with stdenv.lib; {
4342 description = "Set of libraries and utilities to access smart cards";
4443 homepage = https://github.com/OpenSC/OpenSC/wiki;