1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 opuslib,
6 protobuf,
7 pytestCheckHook,
8 pycrypto,
9 pythonOlder,
10 setuptools,
11}:
12
13buildPythonPackage {
14 pname = "pymumble";
15 version = "unstable-2024-10-20";
16 pyproject = true;
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchFromGitHub {
21 owner = "tjni";
22 repo = "pymumble";
23 rev = "3241e84e5ce162a20597e4df6a9c443122357fec";
24 hash = "sha256-9lfWvfrS+vUFTf9jo4T+VHkm9u/hVjsDszLBQIEZVcQ=";
25 };
26
27 build-system = [
28 setuptools
29 ];
30
31 dependencies = [
32 opuslib
33 protobuf
34 ];
35
36 nativeCheckInputs = [
37 pycrypto
38 pytestCheckHook
39 ];
40
41 pythonImportsCheck = [
42 "pymumble_py3"
43 "pymumble_py3.constants"
44 ];
45
46 meta = with lib; {
47 description = "Library to create mumble bots";
48 homepage = "https://github.com/tjni/pymumble";
49 license = licenses.gpl3Only;
50 maintainers = with maintainers; [
51 thelegy
52 tjni
53 ];
54 };
55}