Merge pull request #187786 from anthonyroussel/robotsuite-fix

python310Packages.robotsuite: fix failing build

authored by

Fabian Affolter and committed by
GitHub
34fcb7ec 573c3b6d

+19 -9
+19 -9
pkgs/development/python-modules/robotsuite/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , unittest2, lxml, robotframework 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , unittest2 5 + , lxml 6 + , robotframework 7 + , pytestCheckHook 3 8 }: 4 9 5 10 buildPythonPackage rec { ··· 11 16 sha256 = "sha256-iugVKUPl6HTTO8K1EbSqAk1fl/fsEPoOcsOnnAgcEas="; 12 17 }; 13 18 14 - buildInputs = [ unittest2 ]; 15 - propagatedBuildInputs = [ robotframework lxml ]; 19 + buildInputs = [ 20 + unittest2 21 + ]; 16 22 17 - postPatch = '' 18 - substituteInPlace setup.py \ 19 - --replace robotframework-python3 robotframework 20 - ''; 23 + propagatedBuildInputs = [ 24 + robotframework 25 + lxml 26 + ]; 27 + 28 + checkInputs = [ 29 + pytestCheckHook 30 + ]; 21 31 22 32 meta = with lib; { 23 33 description = "Python unittest test suite for Robot Framework"; 24 34 homepage = "https://github.com/collective/robotsuite/"; 25 - license = licenses.gpl3; 35 + license = licenses.gpl3Only; 26 36 }; 27 37 }