forked from mirrors/nixpkgs
Merge pull request #187786 from anthonyroussel/robotsuite-fix
python310Packages.robotsuite: fix failing build
This commit is contained in:
commit
34fcb7ec28
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue