aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/robotsuite/default.nix
blob: e9d4ddbed116864fa0c676f1daa0b58102ef6178 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, buildPythonPackage, fetchPypi
, unittest2, lxml, robotframework
}:

buildPythonPackage rec {
  pname = "robotsuite";
  version = "2.2.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "8764e01990ac6774e0c983579bcb9cb79f44373a61ad47fbae9a1dc7eedbdd61";
  };

  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;
  };
}