diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/pyppeteer/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/pyppeteer/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/pyppeteer/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/pyppeteer/default.nix new file mode 100644 index 000000000000..09d2415f8e0a --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/pyppeteer/default.nix @@ -0,0 +1,29 @@ +{ buildPythonPackage, fetchPypi, lib, urllib3, pyee, tqdm, websockets, appdirs }: + +buildPythonPackage rec { + pname = "pyppeteer"; + version = "0.2.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "1s92izan7s3iffc85wpwi1qv9brcq0rlfqyi84wmpmg1dxk64g0m"; + }; + + # 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 ]; + }; +} |