1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 playwright, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage { 11 pname = "playwright-stealth"; 12 version = "1.0.6-unstable-2023-09-11"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchFromGitHub { 18 owner = "AtuboDad"; 19 repo = "playwright_stealth"; 20 # https://github.com/AtuboDad/playwright_stealth/issues/25 21 rev = "43f7433057906945b1648179304d7dbd8eb10874"; 22 hash = "sha256-ZWmuVwjEgrPmfxjvws3TdocW6tyNH++fyRfKQ0oJ6bo="; 23 }; 24 25 nativeBuildInputs = [ setuptools ]; 26 27 propagatedBuildInputs = [ playwright ]; 28 29 # Tests require Chromium binary 30 doCheck = false; 31 32 pythonImportsCheck = [ "playwright_stealth" ]; 33 34 meta = with lib; { 35 description = "Playwright stealth"; 36 homepage = "https://github.com/AtuboDad/playwright_stealth"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}