19 buildPythonPackage rec {
24 disabled = pythonOlder "3.7";
26 src = fetchFromGitHub {
30 hash = "sha256-izMaWtJdkLHMQbyq7o7n46xB8dOHXZ5uO0UXt+twjL4=";
34 substituteInPlace pyproject.toml \
35 --replace 'pyee = "^8.1.0"' 'pyee = "*"' \
36 --replace 'urllib3 = "^1.25.8"' 'urllib3 = "*"' \
37 --replace 'websockets = "^10.0"' 'websockets = "*"'
40 nativeBuildInputs = [ poetry-core ];
42 propagatedBuildInputs = [
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 = [ "pyppeteer" ];
88 description = "Headless chrome/chromium automation library (unofficial port of puppeteer)";
89 mainProgram = "pyppeteer-install";
90 homepage = "https://github.com/pyppeteer/pyppeteer";
91 changelog = "https://github.com/pyppeteer/pyppeteer/blob/${version}/CHANGELOG.md";
92 license = licenses.mit;
93 maintainers = with maintainers; [ kmein ];