qt5.qtbase: python2 -> python3

The only python reference in qtbase's dev output is a python script
which imports print from __future__ (mkspecs/features/uikit/devices.py).
It's not clear whether it depends on python or it just provides a python
script. But I believe it's still good to have in buildInputs so it has
a proper shebang.

Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
This commit is contained in:
Graham Christensen 2019-12-18 20:59:21 -05:00 committed by worldofpeace
parent b171037944
commit ef96a4ad78

View file

@ -2,7 +2,7 @@
stdenv, lib,
src, patches, version, qtCompatVersion,
coreutils, bison, flex, gdb, gperf, lndir, perl, pkgconfig, python2,
coreutils, bison, flex, gdb, gperf, lndir, perl, pkgconfig, python3,
which,
# darwin support
darwin, libiconv,
@ -75,7 +75,8 @@ stdenv.mkDerivation {
);
buildInputs =
lib.optionals (!stdenv.isDarwin)
[ python3 ]
++ lib.optionals (!stdenv.isDarwin)
(
[ libinput ]
++ lib.optional withGtk3 gtk3
@ -86,7 +87,7 @@ stdenv.mkDerivation {
++ lib.optional (postgresql != null) postgresql;
nativeBuildInputs =
[ bison flex gperf lndir perl pkgconfig python2 which ];
[ bison flex gperf lndir perl pkgconfig which ];
propagatedNativeBuildInputs = [ lndir ];