1{ buildPythonPackage, fetchPypi, lib, urllib3, pyee, tqdm, websockets, appdirs }:
2
3buildPythonPackage rec {
4 pname = "pyppeteer";
5 version = "0.2.5";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "c2974be1afa13b17f7ecd120d265d8b8cd324d536a231c3953ca872b68aba4af";
10 };
11
12 # tests want to write to /homeless-shelter
13 doCheck = false;
14
15 propagatedBuildInputs = [
16 appdirs
17 websockets
18 tqdm
19 pyee
20 urllib3
21 ];
22
23 meta = {
24 description = "Headless chrome/chromium automation library (unofficial port of puppeteer)";
25 homepage = "https://github.com/pyppeteer/pyppeteer";
26 license = lib.licenses.mit;
27 maintainers = with lib.maintainers; [ kmein ];
28 };
29}