summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pypasser
diff options
context:
space:
mode:
authornixpkgs-ci[bot] <190413589+nixpkgs-ci[bot]@users.noreply.github.com>2025-08-11 00:24:16 +0000
committerGitHub <noreply@github.com>2025-08-11 00:24:16 +0000
commitef3238a84cc5d5b60de2aec6ecc7d434c8da1b5c (patch)
tree5605011b7d6dad28bac39254aa1488cadddac7c3 /pkgs/development/python-modules/pypasser
parenthaskellPackages.cabal2nix-unstable: 2025-06-14 -> 2025-08-10 (diff)
parentbalena-cli: 22.1.5 -> 22.2.4 (#432566) (diff)
downloadnixpkgs-origin/haskell-updates.tar.gz
Merge b1b0d690fbb0e4a2fa029ab625a3b1646487fee1 into haskell-updatesorigin/haskell-updates
Diffstat (limited to 'pkgs/development/python-modules/pypasser')
-rw-r--r--pkgs/development/python-modules/pypasser/default.nix59
1 files changed, 59 insertions, 0 deletions
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 ];
+ };
+}