diff options
Diffstat (limited to 'pkgs/development/python-modules/pytest-playwright/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pytest-playwright/default.nix | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/pytest-playwright/default.nix b/pkgs/development/python-modules/pytest-playwright/default.nix index df1045a199552..3cb7de0da430a 100644 --- a/pkgs/development/python-modules/pytest-playwright/default.nix +++ b/pkgs/development/python-modules/pytest-playwright/default.nix @@ -1,20 +1,21 @@ -{ lib -, fetchFromGitHub -, buildPythonPackage -, playwright -, playwright-driver -, pytest -, pytest-base-url -, pytestCheckHook -, python-slugify -, pythonOlder -, setuptools-scm -, django +{ + lib, + fetchFromGitHub, + buildPythonPackage, + playwright, + playwright-driver, + pytest, + pytest-base-url, + pytestCheckHook, + python-slugify, + pythonOlder, + setuptools-scm, + django, }: buildPythonPackage rec { pname = "pytest-playwright"; - version = "0.4.4"; + version = "0.5.0"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -23,16 +24,12 @@ buildPythonPackage rec { owner = "microsoft"; repo = "playwright-pytest"; rev = "refs/tags/v${version}"; - hash = "sha256-jCK2i27wRGsv65zfzW+Ef72HNQd4Qu/Mw3HX66ZMQ9Y="; + hash = "sha256-HS0Qpr5R4dAoXe0bpPGU7JABB7CmwugReRD75XeJ8l4="; }; - nativeBuildInputs = [ - setuptools-scm - ]; + nativeBuildInputs = [ setuptools-scm ]; - buildInputs = [ - pytest - ]; + buildInputs = [ pytest ]; propagatedBuildInputs = [ playwright @@ -48,9 +45,7 @@ buildPythonPackage rec { export PLAYWRIGHT_BROWSERS_PATH=${playwright-driver.browsers} ''; - pythonImportsCheck = [ - "pytest_playwright" - ]; + pythonImportsCheck = [ "pytest_playwright" ]; meta = with lib; { description = "Pytest plugin to write end-to-end browser tests with Playwright"; |