diff --git a/pkgs/development/python-modules/webdriver-manager/default.nix b/pkgs/development/python-modules/webdriver-manager/default.nix index 284c31e74c26..1c02bd404cc0 100644 --- a/pkgs/development/python-modules/webdriver-manager/default.nix +++ b/pkgs/development/python-modules/webdriver-manager/default.nix @@ -4,6 +4,7 @@ fetchFromGitHub, packaging, pybrowsers, + pytest-cov-stub, pytestCheckHook, python-dotenv, requests, @@ -11,16 +12,16 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "webdriver-manager"; - version = "4.0.2"; + version = "4.1.1"; pyproject = true; src = fetchFromGitHub { owner = "SergeyPirogov"; repo = "webdriver_manager"; - tag = "v${version}"; - hash = "sha256-ZmrQa/2vPwYgSvY3ZUvilg4RizVXpu5hvJJBQVXkK8E="; + tag = "v${finalAttrs.version}"; + hash = "sha256-MqLM1mSfoirBaJYKkikNuS2XPWPTM2MQNgEwhtp+2ek="; }; __darwinAllowLocalNetworking = true; @@ -35,6 +36,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pybrowsers + pytest-cov-stub pytestCheckHook selenium ]; @@ -62,9 +64,9 @@ buildPythonPackage rec { meta = { 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"; + changelog = "https://github.com/SergeyPirogov/webdriver_manager/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; platforms = lib.platforms.linux; }; -} +})