11 buildPythonPackage rec {
16 disabled = pythonOlder "3.6";
18 src = fetchFromGitHub {
20 repo = "python-proxy";
21 rev = "7fccf8dd62204f34b0aa3a70fc568fd6ddff7728";
22 sha256 = "sha256-bOqDdNiaZ5MRi/UeF0hJwMs+rfQBKRsTmXrZ6ieIguo=";
25 nativeBuildInputs = [ setuptools ];
27 propagatedBuildInputs = [
32 pythonImportsCheck = [ "pproxy" ];
35 # Tests try to connect to outside Internet, so disabled
40 # test suite doesn't use test runner. so need to run ``python ./tests/*``
43 for f in ./tests/!(${builtins.concatStringsSep "|" disabledTests}).py ; do
44 echo "***Testing $f***"
50 description = "Proxy server that can tunnel among remote servers by regex rules";
51 mainProgram = "pproxy";
52 homepage = "https://github.com/qwj/python-proxy";
53 license = licenses.mit;
54 maintainers = with maintainers; [ drewrisinger ];