diff --git a/pkgs/development/python-modules/robotsuite/default.nix b/pkgs/development/python-modules/robotsuite/default.nix index 6e7897413ec2..8e51b8409421 100644 --- a/pkgs/development/python-modules/robotsuite/default.nix +++ b/pkgs/development/python-modules/robotsuite/default.nix @@ -1,5 +1,10 @@ -{ lib, buildPythonPackage, fetchPypi -, unittest2, lxml, robotframework +{ lib +, buildPythonPackage +, fetchPypi +, unittest2 +, lxml +, robotframework +, pytestCheckHook }: buildPythonPackage rec { @@ -11,17 +16,22 @@ buildPythonPackage rec { sha256 = "sha256-iugVKUPl6HTTO8K1EbSqAk1fl/fsEPoOcsOnnAgcEas="; }; - buildInputs = [ unittest2 ]; - propagatedBuildInputs = [ robotframework lxml ]; + buildInputs = [ + unittest2 + ]; - postPatch = '' - substituteInPlace setup.py \ - --replace robotframework-python3 robotframework - ''; + propagatedBuildInputs = [ + robotframework + lxml + ]; + + checkInputs = [ + pytestCheckHook + ]; meta = with lib; { description = "Python unittest test suite for Robot Framework"; homepage = "https://github.com/collective/robotsuite/"; - license = licenses.gpl3; + license = licenses.gpl3Only; }; }