evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / playwrightcapture / default.nix
blob6b2be979b101e2d2bfb2d16a5c1db4fe7046a47a
2   lib,
3   aiohttp,
4   aiohttp-socks,
5   beautifulsoup4,
6   buildPythonPackage,
7   dateparser,
8   fetchFromGitHub,
9   playwright-stealth,
10   playwright,
11   poetry-core,
12   puremagic,
13   pydub,
14   pythonOlder,
15   pytz,
16   requests,
17   setuptools,
18   speechrecognition,
19   tzdata,
20   w3lib,
23 buildPythonPackage rec {
24   pname = "playwrightcapture";
25   version = "1.27.0";
26   pyproject = true;
28   disabled = pythonOlder "3.9";
30   src = fetchFromGitHub {
31     owner = "Lookyloo";
32     repo = "PlaywrightCapture";
33     rev = "refs/tags/v${version}";
34     hash = "sha256-cfgNeUZh492SkgfSJZyaDDeqxC3vHopdIe5UcKHFVck=";
35   };
37   pythonRelaxDeps = [
38     "aiohttp"
39     "aiohttp-socks"
40     "beautifulsoup4"
41     "playwright"
42     "setuptools"
43     "tzdata"
44   ];
46   build-system = [ poetry-core ];
49   dependencies = [
50     aiohttp
51     aiohttp-socks
52     beautifulsoup4
53     dateparser
54     playwright
55     playwright-stealth
56     puremagic
57     pytz
58     requests
59     setuptools
60     tzdata
61     w3lib
62   ];
64   optional-dependencies = {
65     recaptcha = [
66       speechrecognition
67       pydub
68       requests
69     ];
70   };
72   # Module has no tests
73   doCheck = false;
75   pythonImportsCheck = [ "playwrightcapture" ];
77   meta = with lib; {
78     description = "Capture a URL with Playwright";
79     homepage = "https://github.com/Lookyloo/PlaywrightCapture";
80     changelog = "https://github.com/Lookyloo/PlaywrightCapture/releases/tag/v${version}";
81     license = licenses.bsd3;
82     maintainers = with maintainers; [ fab ];
83   };