2018-08-05 14:33:14 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, unittest2, lxml, robotframework
|
|
|
|
}:
|
2017-10-29 10:47:54 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "robotsuite";
|
|
|
|
version = "2.0.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "15iw7g6gspf1ill0mzjrj71dirqfc86f1j14wphdvs2lazv8d50z";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unittest2 ];
|
|
|
|
propagatedBuildInputs = [ robotframework lxml ];
|
|
|
|
|
2018-08-05 14:33:14 +01:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.py \
|
|
|
|
--replace robotframework-python3 robotframework
|
|
|
|
'';
|
|
|
|
|
2017-10-29 10:47:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python unittest test suite for Robot Framework";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/collective/robotsuite/";
|
2017-10-29 10:47:54 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|