Skip to content

Commit

Permalink
Merge pull request #187786 from anthonyroussel/robotsuite-fix
Browse files Browse the repository at this point in the history
python310Packages.robotsuite: fix failing build
  • Loading branch information
fabaff committed Aug 23, 2022
2 parents 573c3b6 + ee08b8c commit 34fcb7e
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions pkgs/development/python-modules/robotsuite/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{ lib, buildPythonPackage, fetchPypi
, unittest2, lxml, robotframework
{ lib
, buildPythonPackage
, fetchPypi
, unittest2
, lxml
, robotframework
, pytestCheckHook
}:

buildPythonPackage rec {
Expand All @@ -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;
};
}

0 comments on commit 34fcb7e

Please sign in to comment.