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