mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 07:31:19 +00:00
python3Packages.patchright: init at 1.58.0
Undetected Python version of the Playwright testing and automation library https://github.com/Kaliiiiiiiiii-Vinyzu/patchright-python
This commit is contained in:
44
pkgs/development/python-modules/patchright/default.nix
Normal file
44
pkgs/development/python-modules/patchright/default.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
playwright,
|
||||
setuptools,
|
||||
toml,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "patchright";
|
||||
version = "1.58.0";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kaliiiiiiiiii-Vinyzu";
|
||||
repo = "patchright-python";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-msV0CbVbTDSAB1BgxkUOpuzQDr8vMK2/wxJy1SSUU80=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
playwright
|
||||
toml
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
# pythonImportsCheck disabled: module attempts filesystem writes at import time
|
||||
pythonImportsCheck = [ ];
|
||||
|
||||
meta = {
|
||||
description = "Undetected Python version of the Playwright testing and automation library";
|
||||
homepage = "https://github.com/Kaliiiiiiiiii-Vinyzu/patchright-python";
|
||||
changelog = "https://github.com/Kaliiiiiiiiii-Vinyzu/patchright-python/releases/tag/v${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -12563,6 +12563,8 @@ self: super: with self; {
|
||||
|
||||
patchpy = callPackage ../development/python-modules/patchpy { };
|
||||
|
||||
patchright = callPackage ../development/python-modules/patchright { };
|
||||
|
||||
path = callPackage ../development/python-modules/path { };
|
||||
|
||||
path-and-address = callPackage ../development/python-modules/path-and-address { };
|
||||
|
||||
Reference in New Issue
Block a user