depot/third_party/nixpkgs/pkgs/development/python-modules/robotsuite/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
657 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, unittest2, lxml, robotframework
}:
buildPythonPackage rec {
pname = "robotsuite";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "15iw7g6gspf1ill0mzjrj71dirqfc86f1j14wphdvs2lazv8d50z";
};
buildInputs = [ unittest2 ];
propagatedBuildInputs = [ robotframework lxml ];
postPatch = ''
substituteInPlace setup.py \
--replace robotframework-python3 robotframework
'';
meta = with stdenv.lib; {
description = "Python unittest test suite for Robot Framework";
homepage = "https://github.com/collective/robotsuite/";
license = licenses.gpl3;
};
}