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