python2.pkgs.dbus-python: disable tests

PyGObject no longer supports Python 2.
This commit is contained in:
Jan Tojnar 2020-10-18 21:49:12 +02:00
parent 9c33a3ff21
commit 06fc53857a
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,5 +1,5 @@
{ lib, fetchPypi, buildPythonPackage, python, pkgconfig, dbus, dbus-glib, isPyPy
, ncurses, pygobject3 }:
, ncurses, pygobject3, isPy3k }:
buildPythonPackage rec {
pname = "dbus-python";
@ -25,7 +25,7 @@ buildPythonPackage rec {
# It seems not to retain the dependency anyway.
++ lib.optional (! python ? modules) ncurses;
doCheck = true;
doCheck = isPy3k;
checkInputs = [ dbus.out pygobject3 ];
meta = {