Files
nixpkgs/pkgs/development/python-modules/nodriver/default.nix
T
Robert Schütz 1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00

48 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
deprecated,
mss,
websockets,
setuptools,
}:
buildPythonPackage rec {
pname = "nodriver";
version = "0.48.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-SsjNiLavEzwm3BV/t49asXRipZtKDaMwTjrxK75LQ0M=";
};
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
];
};
}