nixpkgs/pkgs/development/python-modules/patchright/default.nix
Fabian Affolter 2920ff399d python3Packages.patchright: init at 1.58.0
Undetected Python version of the Playwright testing and automation
library

https://github.com/Kaliiiiiiiiii-Vinyzu/patchright-python
2026-07-03 10:55:29 +02:00

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 ];
};
})