evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / playwright-stealth / default.nix
blob0ee048182ba6abfc5da2adc1f044473dfe91761f
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   playwright,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "playwright-stealth";
12   version = "1.0.6-unstable-2023-09-11";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
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   };
25   nativeBuildInputs = [ setuptools ];
27   propagatedBuildInputs = [ playwright ];
29   # Tests require Chromium binary
30   doCheck = false;
32   pythonImportsCheck = [ "playwright_stealth" ];
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   };