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