summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pysecretsocks/default.nix
blob: 2e9a3283c525f469dde6df5ca7f7b6ec6e3939e5 (about) (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
33
34
35
36
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pyasyncore,
}:

buildPythonPackage rec {
  pname = "pysecretsocks";
  version = "0.9.1-unstable-2023-11-04";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "BC-SECURITY";
    repo = "PySecretSOCKS";
    rev = "da5be0e48f82097044894247343cef2111f13c7a";
    hash = "sha256-3jvMVsoKgBN4eRc6hyj7X/uu7NoJvofsbljVcgGfcPc=";
  };

  build-system = [ setuptools ];

  dependencies = [ pyasyncore ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "secretsocks" ];

  meta = {
    description = "Socks server for tunneling a connection over another channel";
    homepage = "https://github.com/BC-SECURITY/PySecretSOCKS";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}