summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/trevorproxy/default.nix
blob: d53e76b6b0a2c6ee382786bd0a87027a1d6951c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildPythonPackage,
  fetchPypi,
  poetry-core,
  sh,
}:

buildPythonPackage rec {
  pname = "trevorproxy";
  version = "1.0.9";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-ZUOqtJmLiZbe2LBkpTGELeKFkmzA0WCJ/TXPi9eyRXs=";
  };

  build-system = [ poetry-core ];

  dependencies = [ sh ];

  pythonImportsCheck = [ "trevorproxy" ];

  meta = {
    description = "Module to rotate the source IP address via SSH proxies and other methods";
    homepage = "https://github.com/blacklanternsecurity/TREVORproxy";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "trevorproxy";
  };
}