python.pkgs.pyscard: move swig to nativeBuildInputs

This commit is contained in:
Robert Schütz 2019-03-01 14:38:48 +01:00
parent 391e59108d
commit 505b810a7f

View File

@ -17,7 +17,8 @@ buildPythonPackage rec {
NIX_CFLAGS_COMPILE = "-isystem ${stdenv.lib.getDev pcsclite}/include/PCSC/";
propagatedBuildInputs = [ pcsclite ];
buildInputs = [ swig ] ++ stdenv.lib.optional stdenv.isDarwin PCSC;
buildInputs = stdenv.lib.optional stdenv.isDarwin PCSC;
nativeBuildInputs = [ swig ];
meta = {
homepage = https://pyscard.sourceforge.io/;