1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 deprecated,
7 mss,
8 websockets,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "nodriver";
14 version = "0.47.0";
15 pyproject = true;
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-X8MRgqTbcl6lb8BCJpopoT5Vorr4Pf3XMKqFHdUmlgg=";
20 };
21
22 disabled = pythonOlder "3.9";
23
24 dependencies = [
25 deprecated
26 mss
27 websockets
28 ];
29
30 build-system = [ setuptools ];
31
32 pythonImportsCheck = [ "nodriver" ];
33 # no tests in upstream
34 doCheck = false;
35
36 meta = {
37 homepage = "https://github.com/ultrafunkamsterdam/nodriver";
38 license = lib.licenses.agpl3Only;
39 description = "Web automation framework which can bypass bot detection";
40 longDescription = ''
41 Successor of Undetected-Chromedriver. Providing a blazing fast framework for web
42 automation, webscraping, bots and any other creative ideas which are normally
43 hindered by annoying anti bot systems like Captcha / CloudFlare / Imperva / hCaptcha
44 '';
45 maintainers = with lib.maintainers; [
46 liammurphy14
47 toasteruwu
48 ];
49 };
50}