1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 poetry-core,
6 sh,
7}:
8
9buildPythonPackage rec {
10 pname = "trevorproxy";
11 version = "1.0.9";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-ZUOqtJmLiZbe2LBkpTGELeKFkmzA0WCJ/TXPi9eyRXs=";
17 };
18
19 build-system = [ poetry-core ];
20
21 dependencies = [ sh ];
22
23 pythonImportsCheck = [ "trevorproxy" ];
24
25 meta = {
26 description = "Module to rotate the source IP address via SSH proxies and other methods";
27 homepage = "https://github.com/blacklanternsecurity/TREVORproxy";
28 license = lib.licenses.gpl3Only;
29 maintainers = with lib.maintainers; [ fab ];
30 mainProgram = "trevorproxy";
31 };
32}