Skip to content

Commit

Permalink
python2.pkgs.dbus-python: disable tests
Browse files Browse the repository at this point in the history
PyGObject no longer supports Python 2.
  • Loading branch information
jtojnar committed Oct 23, 2020
1 parent 9c33a3f commit 06fc538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/dbus/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, fetchPypi, buildPythonPackage, python, pkgconfig, dbus, dbus-glib, isPyPy
, ncurses, pygobject3 }:
, ncurses, pygobject3, isPy3k }:

buildPythonPackage rec {
pname = "dbus-python";
Expand All @@ -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 = {
Expand Down

0 comments on commit 06fc538

Please sign in to comment.