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