1{ stdenv, buildPythonPackage, fetchPypi 2, unittest2, lxml, robotframework 3}: 4 5buildPythonPackage rec { 6 pname = "robotsuite"; 7 version = "2.0.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "15iw7g6gspf1ill0mzjrj71dirqfc86f1j14wphdvs2lazv8d50z"; 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 stdenv.lib; { 23 description = "Python unittest test suite for Robot Framework"; 24 homepage = https://github.com/collective/robotsuite/; 25 license = licenses.gpl3; 26 }; 27}