Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / robotsuite / default.nix
blob5c46686adae4f856f52e64c84c5b45554c85dfff
1 { lib, buildPythonPackage, fetchPypi
2 , unittest2, lxml, robotframework
3 }:
5 buildPythonPackage rec {
6   pname = "robotsuite";
7   version = "2.2.1";
9   src = fetchPypi {
10     inherit pname version;
11     sha256 = "8764e01990ac6774e0c983579bcb9cb79f44373a61ad47fbae9a1dc7eedbdd61";
12   };
14   buildInputs = [ unittest2 ];
15   propagatedBuildInputs = [ robotframework lxml ];
17   postPatch = ''
18     substituteInPlace setup.py \
19       --replace robotframework-python3 robotframework
20   '';
22   meta = with lib; {
23     description = "Python unittest test suite for Robot Framework";
24     homepage = "https://github.com/collective/robotsuite/";
25     license = licenses.gpl3;
26   };