2020-11-19 00:13:47 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, urllib3, pyee, tqdm, websockets, appdirs }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyppeteer";
|
2021-01-09 10:05:03 +00:00
|
|
|
version = "0.2.4";
|
2020-11-19 00:13:47 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-09 10:05:03 +00:00
|
|
|
sha256 = "d1bcc61575ff788249d3bcaee696d856fa1153401a5428cb7376d826dd68dd9b";
|
2020-11-19 00:13:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# tests want to write to /homeless-shelter
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
appdirs
|
|
|
|
websockets
|
|
|
|
tqdm
|
|
|
|
pyee
|
|
|
|
urllib3
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Headless chrome/chromium automation library (unofficial port of puppeteer)";
|
|
|
|
homepage = "https://github.com/pyppeteer/pyppeteer";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ kmein ];
|
|
|
|
};
|
|
|
|
}
|