Skip to content

Commit

Permalink
python3Packages.clint: disable tests, fix build
Browse files Browse the repository at this point in the history
Tests are no longer compatible with setuptools>=58
  • Loading branch information
Jonathan Ringer committed Jan 18, 2022
1 parent da7de2c commit da183ea
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkgs/development/python-modules/clint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,18 @@ buildPythonPackage rec {

LC_ALL="en_US.UTF-8";

propagatedBuildInputs = [ pillow blessings args ];

# nose-progressive and clint are not actively maintained
# no longer compatible as behavior demand 2to3, which was removed
# in setuptools>=58
doCheck = false;
checkInputs = [ mock nose nose_progressive pkgs.glibcLocales ];
checkPhase = ''
${python.interpreter} test_clint.py
'';

buildInputs = [ mock nose nose_progressive pkgs.glibcLocales ];
propagatedBuildInputs = [ pillow blessings args ];
pythonImportsCheck = [ "clint" ];

meta = with lib; {
homepage = "https://github.com/kennethreitz/clint";
Expand Down

0 comments on commit da183ea

Please sign in to comment.