1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pyasyncore,
7}:
8
9buildPythonPackage rec {
10 pname = "pysecretsocks";
11 version = "0.9.1-unstable-2023-11-04";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "BC-SECURITY";
16 repo = "PySecretSOCKS";
17 rev = "da5be0e48f82097044894247343cef2111f13c7a";
18 hash = "sha256-3jvMVsoKgBN4eRc6hyj7X/uu7NoJvofsbljVcgGfcPc=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ pyasyncore ];
24
25 # Module has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "secretsocks" ];
29
30 meta = {
31 description = "Socks server for tunneling a connection over another channel";
32 homepage = "https://github.com/BC-SECURITY/PySecretSOCKS";
33 license = lib.licenses.mit;
34 maintainers = with lib.maintainers; [ fab ];
35 };
36}