From 7d055ef5ca085a20c22e0714e95b70761740d409 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Sat, 9 Aug 2025 19:56:35 -0700 Subject: [PATCH] python3Packages.pypasser: init at 0.0.5 --- .../python-modules/pypasser/default.nix | 59 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 61 insertions(+) create mode 100644 pkgs/development/python-modules/pypasser/default.nix diff --git a/pkgs/development/python-modules/pypasser/default.nix b/pkgs/development/python-modules/pypasser/default.nix new file mode 100644 index 000000000000..47c1fbe39294 --- /dev/null +++ b/pkgs/development/python-modules/pypasser/default.nix @@ -0,0 +1,59 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + pythonRelaxDepsHook, + pydub, + pysocks, + requests, + selenium, + speechrecognition, +}: + +buildPythonPackage rec { + pname = "pypasser"; + version = "0.0.5"; + pyproject = true; + + src = fetchFromGitHub { + owner = "xHossein"; + repo = "PyPasser"; + tag = version; + hash = "sha256-vqa+Xap9dYvjJMiGNGNmegh7rmAqwf3//MH47xwr/T0="; + }; + + build-system = [ setuptools ]; + + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + + pythonRelaxDeps = [ + "speechrecognition" + ]; + + dependencies = [ + pydub + pysocks + requests + selenium + speechrecognition + ]; + + pythonImportsCheck = [ + "pypasser" + "pypasser.reCaptchaV2" + "pypasser.reCaptchaV3" + ]; + + # Package has no tests + doCheck = false; + + meta = { + description = "Bypassing reCaptcha V3 by sending HTTP requests & solving reCaptcha V2 using speech to text"; + homepage = "https://github.com/xHossein/PyPasser"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.jamiemagee ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 009c0093e8fa..6ea109f352cd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13517,6 +13517,8 @@ self: super: with self; { pypass = callPackage ../development/python-modules/pypass { }; + pypasser = callPackage ../development/python-modules/pypasser { }; + pypblib = callPackage ../development/python-modules/pypblib { }; pypca = callPackage ../development/python-modules/pypca { };