@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkgconfig, udev, dbus, perl, python2
1+{ stdenv, fetchurl, pkgconfig, udev, dbus, perl, python3
22, IOKit ? null }:
33
44stdenv.mkDerivation rec {
@@ -35,8 +35,8 @@ stdenv.mkDerivation rec {
3535 moveToOutput bin/pcsc-spy "$dev"
3636 '';
3737
38− nativeBuildInputs = [ pkgconfig perl python2 ];
39− buildInputs = stdenv.lib.optionals stdenv.isLinux [ udev dbus ]
38+ nativeBuildInputs = [ pkgconfig perl ];
39+ buildInputs = [ python3 ] ++ stdenv.lib.optionals stdenv.isLinux [ udev dbus ]
4040 ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
4141
4242 meta = with stdenv.lib; {