2018-10-26 17:25:27 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-03-15 20:55:03 +00:00
|
|
|
, isPy3k
|
2018-10-26 17:25:27 +01:00
|
|
|
, robotframework
|
|
|
|
, moretools
|
|
|
|
, pathpy
|
|
|
|
, six
|
2019-03-15 20:55:03 +00:00
|
|
|
, zetup
|
2019-07-16 12:59:05 +01:00
|
|
|
, modeled
|
|
|
|
, pytest
|
2018-10-26 17:25:27 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-07-16 12:59:05 +01:00
|
|
|
version = "0.1rc4";
|
2018-10-26 17:25:27 +01:00
|
|
|
pname = "robotframework-tools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-16 12:59:05 +01:00
|
|
|
sha256 = "0377ikajf6c3zcy3lc0kh4w9zmlqyplk2c2hb0yyc7h3jnfnya96";
|
2018-10-26 17:25:27 +01:00
|
|
|
};
|
|
|
|
|
2019-07-16 12:59:05 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
zetup
|
|
|
|
];
|
2019-03-15 20:55:03 +00:00
|
|
|
|
2019-07-16 12:59:05 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
robotframework
|
|
|
|
moretools
|
|
|
|
pathpy
|
|
|
|
six
|
|
|
|
modeled
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
# tests require network
|
|
|
|
pytest test --ignore test/remote/test_remote.py
|
|
|
|
'';
|
2018-10-26 17:25:27 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python Tools for Robot Framework and Test Libraries";
|
|
|
|
homepage = https://bitbucket.org/userzimmermann/robotframework-tools;
|
|
|
|
license = licenses.gpl3;
|
2019-07-16 12:59:05 +01:00
|
|
|
maintainers = [ maintainers.costrouc ];
|
2018-10-26 17:25:27 +01:00
|
|
|
};
|
|
|
|
}
|