18 buildPythonPackage rec {
23 disabled = pythonOlder "3.6";
25 src = fetchFromGitHub {
29 sha256 = "sha256-izMaWtJdkLHMQbyq7o7n46xB8dOHXZ5uO0UXt+twjL4=";
36 propagatedBuildInputs = [
53 substituteInPlace pyproject.toml \
54 --replace 'pyee = "^8.1.0"' 'pyee = "*"' \
55 --replace 'websockets = "^9.1"' 'websockets = "*"'
59 # Requires network access
60 "tests/test_browser.py"
61 "tests/test_browser_context.py"
62 "tests/test_connection.py"
63 "tests/test_coverage.py"
64 "tests/test_dialog.py"
65 "tests/test_element_handle.py"
66 "tests/test_execution_context.py"
69 "tests/test_launcher.py"
70 "tests/test_network.py"
72 "tests/test_pyppeteer.py"
73 "tests/test_target.py"
74 "tests/test_tracing.py"
75 "tests/test_worker.py"
79 # Requires network access
85 pythonImportsCheck = [
90 description = "Headless chrome/chromium automation library (unofficial port of puppeteer)";
91 homepage = "https://github.com/pyppeteer/pyppeteer";
92 license = licenses.mit;
93 maintainers = with maintainers; [ kmein ];