Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / robotframework-seleniumlibrary / default.nix
bloba1130eaac619abe85ac2b295f8086849c5dc2c66
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools
5 , robotframework
6 , robotframework-pythonlibcore
7 , selenium
8 , approvaltests
9 , pytest-mockito
10 , pytestCheckHook
11 , robotstatuschecker
14 buildPythonPackage rec {
15   pname = "robotframework-seleniumlibrary";
16   version = "6.3.0";
17   pyproject = true;
19   # no tests included in PyPI tarball
20   src = fetchFromGitHub {
21     owner = "robotframework";
22     repo = "SeleniumLibrary";
23     rev = "refs/tags/v${version}";
24     sha256 = "sha256-/bYk8S9fGTsftBokz1FH+7HwdhhtAvZgtQscUESTsjY=";
25   };
27   nativeBuildInputs = [
28     setuptools
29   ];
31   propagatedBuildInputs = [
32     robotframework
33     robotframework-pythonlibcore
34     selenium
35   ];
37   nativeCheckInputs = [
38     approvaltests
39     pytest-mockito
40     pytestCheckHook
41     robotstatuschecker
42   ];
44   preCheck = ''
45     mkdir utest/output_dir
46   '';
48   meta = with lib; {
49     changelog = "https://github.com/robotframework/SeleniumLibrary/blob/${src.rev}/docs/SeleniumLibrary-${version}.rst";
50     description = "Web testing library for Robot Framework";
51     homepage = "https://github.com/robotframework/SeleniumLibrary";
52     license = licenses.asl20;
53     maintainers = [ ];
54   };