about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyscard
diff options
context:
space:
mode:
authorDan Peebles <pumpkin@me.com>2017-09-09 23:07:14 -0400
committerDan Peebles <pumpkin@me.com>2017-09-09 23:07:14 -0400
commit15502421c72de368f23ee13f1df56ebb1f424935 (patch)
treedfb881b7d8a025d630df222270e469e0e7782c34 /pkgs/development/python-modules/pyscard
parent6a17c5a46c933deb6c856be8602ea9f5d6560e98 (diff)
yubikey-manager: 3.1 -> 4.0
Also, support Darwin properly
Diffstat (limited to 'pkgs/development/python-modules/pyscard')
-rw-r--r--pkgs/development/python-modules/pyscard/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pyscard/default.nix b/pkgs/development/python-modules/pyscard/default.nix
index bee5d760c0c67..0a98ee02e5819 100644
--- a/pkgs/development/python-modules/pyscard/default.nix
+++ b/pkgs/development/python-modules/pyscard/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, buildPythonPackage, swig, pcsclite }:
+{ stdenv, fetchurl, buildPythonPackage, swig, pcsclite, PCSC }:
 
 buildPythonPackage rec {
   version = "1.9.6";
@@ -18,7 +18,7 @@ buildPythonPackage rec {
   NIX_CFLAGS_COMPILE = "-isystem ${pcsclite}/include/PCSC/";
 
   propagatedBuildInputs = [ pcsclite ];
-  buildInputs = [ swig ];
+  buildInputs = [ swig ] ++ stdenv.lib.optional stdenv.isDarwin PCSC;
 
   meta = {
     homepage = https://pyscard.sourceforge.io/;