git.iko.soy/typeable/nixpkgs
on master help sign in
pcsclite: build with python3

The script is compatible with both

commit4195870b66bbbb23c3c4b8701b0c6f586122ec71 authorJörg Thalheim <joerg@thalheim.io> dateThu 28 Nov 2019, 11:48 (7 years ago) parent9f84415
1 file changed+3−3
pkgs/tools/security/pcsclite/default.nix+3−3
pkgs/tools/security/pcsclite/default.nix+3−3
@@ -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; {