54 lines
1.2 KiB
Nix
54 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
deprecated,
|
|
mss,
|
|
websockets,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "nodriver";
|
|
version = "0.36";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ultrafunkamsterdam";
|
|
repo = "nodriver";
|
|
rev = "e630abfc5dce2023966a61cec739348b18bd465d";
|
|
hash = "sha256-pUWvHcsEPbRob5DDXBFOzqonSWigNPnPUHIu9omzYII=";
|
|
};
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
dependencies = [
|
|
deprecated
|
|
mss
|
|
websockets
|
|
];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "nodriver" ];
|
|
# no tests in upstream
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ultrafunkamsterdam/nodriver";
|
|
license = lib.licenses.agpl3Only;
|
|
description = "Web automation framework which can bypass bot detection";
|
|
longDescription = ''
|
|
Successor of Undetected-Chromedriver. Providing a blazing fast framework for web
|
|
automation, webscraping, bots and any other creative ideas which are normally
|
|
hindered by annoying anti bot systems like Captcha / CloudFlare / Imperva / hCaptcha
|
|
'';
|
|
maintainers = with lib.maintainers; [
|
|
liammurphy14
|
|
toasteruwu
|
|
];
|
|
};
|
|
}
|
|
|