From 09f4d3d493494715106667d467872246dd99bb9a Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Wed, 26 Aug 2020 00:42:08 -0700 Subject: [PATCH] python3Packages.xcffib: fix tests --- pkgs/development/python-modules/xcffib/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/xcffib/default.nix b/pkgs/development/python-modules/xcffib/default.nix index 656775940c46..8f949f20e92a 100644 --- a/pkgs/development/python-modules/xcffib/default.nix +++ b/pkgs/development/python-modules/xcffib/default.nix @@ -3,6 +3,7 @@ , fetchPypi , xorg , cffi +, nose , six }: @@ -22,6 +23,10 @@ buildPythonPackage rec { propagatedBuildInputs = [ cffi six ]; + checkInputs = [ nose ]; + + pythonImportsCheck = [ "xcffib" ]; + meta = with stdenv.lib; { description = "A drop in replacement for xpyb, an XCB python binding"; homepage = "https://github.com/tych0/xcffib";