1{ lib, buildPythonPackage, fetchPypi 2, unittest2, lxml, robotframework 3}: 4 5buildPythonPackage rec { 6 pname = "robotsuite"; 7 version = "2.2.1"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "8764e01990ac6774e0c983579bcb9cb79f44373a61ad47fbae9a1dc7eedbdd61"; 12 }; 13 14 buildInputs = [ unittest2 ]; 15 propagatedBuildInputs = [ robotframework lxml ]; 16 17 postPatch = '' 18 substituteInPlace setup.py \ 19 --replace robotframework-python3 robotframework 20 ''; 21 22 meta = with lib; { 23 description = "Python unittest test suite for Robot Framework"; 24 homepage = "https://github.com/collective/robotsuite/"; 25 license = licenses.gpl3; 26 }; 27}