1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

pcsclite: build with python3

The script is compatible with both
This commit is contained in:
Jörg Thalheim 2019-11-28 11:48:19 +00:00 committed by Frederik Rietdijk
parent 9f84415541
commit 4195870b66

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, udev, dbus, perl, python2
{ stdenv, fetchurl, pkgconfig, udev, dbus, perl, python3
, IOKit ? null }:
stdenv.mkDerivation rec {
@ -35,8 +35,8 @@ stdenv.mkDerivation rec {
moveToOutput bin/pcsc-spy "$dev"
'';
nativeBuildInputs = [ pkgconfig perl python2 ];
buildInputs = stdenv.lib.optionals stdenv.isLinux [ udev dbus ]
nativeBuildInputs = [ pkgconfig perl ];
buildInputs = [ python3 ] ++ stdenv.lib.optionals stdenv.isLinux [ udev dbus ]
++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
meta = with stdenv.lib; {