mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 14:04:52 +00:00
python311Packages.webdriver-manager: init at 4.0.1
Module to manage the binary drivers for different browsers https://github.com/SergeyPirogov/webdriver_manager/
This commit is contained in:
parent
8f96ec330c
commit
14e86093cc
@ -0,0 +1,73 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, packaging
|
||||
, pybrowsers
|
||||
, pytestCheckHook
|
||||
, python-dotenv
|
||||
, pythonOlder
|
||||
, requests
|
||||
, selenium
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "webdriver-manager";
|
||||
version = "4.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SergeyPirogov";
|
||||
repo = "webdriver_manager";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-PdUlloJ4DncnktKQHofn/OLVrgSVyWhaeEEhl3Hgjek=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
packaging
|
||||
python-dotenv
|
||||
requests
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pybrowsers
|
||||
pytestCheckHook
|
||||
selenium
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"webdriver_manager"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests require network access and browsers available
|
||||
"tests_negative/"
|
||||
"tests_xdist/"
|
||||
"tests/test_brave_driver.py"
|
||||
"tests/test_chrome_driver.py"
|
||||
"tests/test_chrome_driver.py"
|
||||
"tests/test_chromium_driver.py"
|
||||
"tests/test_custom_http_client.py"
|
||||
"tests/test_downloader.py"
|
||||
"tests/test_edge_driver.py"
|
||||
"tests/test_firefox_manager.py"
|
||||
"tests/test_ie_driver.py"
|
||||
"tests/test_opera_manager.py"
|
||||
"tests/test_opera_manager.py"
|
||||
"tests/test_silent_global_logs.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to manage the binary drivers for different browsers";
|
||||
homepage = "https://github.com/SergeyPirogov/webdriver_manager/";
|
||||
changelog = "https://github.com/SergeyPirogov/webdriver_manager/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -16248,6 +16248,8 @@ self: super: with self; {
|
||||
|
||||
webdavclient3 = callPackage ../development/python-modules/webdavclient3 { };
|
||||
|
||||
webdriver-manager = callPackage ../development/python-modules/webdriver-manager { };
|
||||
|
||||
webencodings = callPackage ../development/python-modules/webencodings { };
|
||||
|
||||
webexteamssdk = callPackage ../development/python-modules/webexteamssdk { };
|
||||
|
Loading…
Reference in New Issue
Block a user