summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pymumble/default.nix
blob: 15cb92ea9655e62a28de4826aa4d621ac3f0885b (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  opuslib,
  protobuf,
  pytestCheckHook,
  pycrypto,
  setuptools,
}:

buildPythonPackage {
  pname = "pymumble";
  version = "unstable-2024-10-20";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "tjni";
    repo = "pymumble";
    rev = "3241e84e5ce162a20597e4df6a9c443122357fec";
    hash = "sha256-9lfWvfrS+vUFTf9jo4T+VHkm9u/hVjsDszLBQIEZVcQ=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    opuslib
    protobuf
  ];

  nativeCheckInputs = [
    pycrypto
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "pymumble_py3"
    "pymumble_py3.constants"
  ];

  meta = {
    description = "Library to create mumble bots";
    homepage = "https://github.com/tjni/pymumble";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [
      thelegy
    ];
  };
}