mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
Undetected Python version of the Playwright testing and automation library https://github.com/Kaliiiiiiiiii-Vinyzu/patchright-python
44 lines
1 KiB
Nix
44 lines
1 KiB
Nix
{
|
|
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 ];
|
|
};
|
|
})
|