mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
pcsclite: build with python3
The script is compatible with both
This commit is contained in:
parent
9f84415541
commit
4195870b66
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, udev, dbus, perl, python2
|
{ stdenv, fetchurl, pkgconfig, udev, dbus, perl, python3
|
||||||
, IOKit ? null }:
|
, IOKit ? null }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -35,8 +35,8 @@ stdenv.mkDerivation rec {
|
|||||||
moveToOutput bin/pcsc-spy "$dev"
|
moveToOutput bin/pcsc-spy "$dev"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig perl python2 ];
|
nativeBuildInputs = [ pkgconfig perl ];
|
||||||
buildInputs = stdenv.lib.optionals stdenv.isLinux [ udev dbus ]
|
buildInputs = [ python3 ] ++ stdenv.lib.optionals stdenv.isLinux [ udev dbus ]
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
|
++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user