From 2d91877c3778bdf8223ccd9899cc5f6c7cf13d56 Mon Sep 17 00:00:00 2001 From: Adson Cicilioti Date: Tue, 7 Dec 2021 22:57:20 -0300 Subject: [PATCH] clickgen: run tests with pytestCheckHook --- pkgs/development/python-modules/clickgen/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/clickgen/default.nix b/pkgs/development/python-modules/clickgen/default.nix index 141fd4569b52..a85cee778b0b 100644 --- a/pkgs/development/python-modules/clickgen/default.nix +++ b/pkgs/development/python-modules/clickgen/default.nix @@ -6,6 +6,7 @@ , libXcursor , libpng , python +, pytestCheckHook }: buildPythonPackage rec { @@ -29,9 +30,7 @@ buildPythonPackage rec { install -m644 clickgen/xcursorgen.so $out/${python.sitePackages}/clickgen/xcursorgen.so ''; - # Tests fail with ${bitmap_error}. - # Application works normally if tests are disabled - doCheck = false; + checkInputs = [ pytestCheckHook ]; meta = with lib; { homepage = "https://github.com/ful1e5/clickgen";