summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/aiovban/default.nix
blob: 729f3aa3e8840c16ca37c041785f3bc6662621f5 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
  music-assistant,
}:

buildPythonPackage {
  pname = "aiovban";
  version = "0.6.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "wmbest2";
    repo = "aiovban";
    # https://github.com/wmbest2/aiovban/issues/2
    rev = "cdcf1ef3328493e600b4e8725a6071c0d180b36a";
    hash = "sha256-w+pA3225mdPms/PpnJYKZYe6YHn0WMf83LupExgjJZ8=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [
    "aiovban"
  ];

  meta = {
    description = "Asyncio VBAN Protocol Wrapper";
    homepage = "https://github.com/wmbest2/aiovban";
    license = lib.licenses.mit;
    inherit (music-assistant.meta) maintainers;
  };
}