3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #187786 from anthonyroussel/robotsuite-fix

python310Packages.robotsuite: fix failing build
This commit is contained in:
Fabian Affolter 2022-08-23 15:11:52 +02:00 committed by GitHub
commit 34fcb7ec28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
};
}