summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pypasser/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pypasser/default.nix')
-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 ];
+ };
+}