1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pythonRelaxDepsHook,
7 pydub,
8 pysocks,
9 requests,
10 selenium,
11 speechrecognition,
12}:
13
14buildPythonPackage rec {
15 pname = "pypasser";
16 version = "0.0.5";
17 pyproject = true;
18
19 src = fetchFromGitHub {
20 owner = "xHossein";
21 repo = "PyPasser";
22 tag = version;
23 hash = "sha256-vqa+Xap9dYvjJMiGNGNmegh7rmAqwf3//MH47xwr/T0=";
24 };
25
26 build-system = [ setuptools ];
27
28 nativeBuildInputs = [
29 pythonRelaxDepsHook
30 ];
31
32 pythonRelaxDeps = [
33 "speechrecognition"
34 ];
35
36 dependencies = [
37 pydub
38 pysocks
39 requests
40 selenium
41 speechrecognition
42 ];
43
44 pythonImportsCheck = [
45 "pypasser"
46 "pypasser.reCaptchaV2"
47 "pypasser.reCaptchaV3"
48 ];
49
50 # Package has no tests
51 doCheck = false;
52
53 meta = {
54 description = "Bypassing reCaptcha V3 by sending HTTP requests & solving reCaptcha V2 using speech to text";
55 homepage = "https://github.com/xHossein/PyPasser";
56 license = lib.licenses.mit;
57 maintainers = [ lib.maintainers.jamiemagee ];
58 };
59}