aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/pyppeteer/default.nix
blob: 09d2415f8e0a6f9a581b511b72c83821ed941397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 ];
  };
}