summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyemby/default.nix
blob: 9d3e347450a83f44ac3ac9e60dd3e0bd9c647f06 (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
{
  lib,
  aiohttp,
  async-timeout,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pyemby";
  version = "1.10";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "mezz64";
    repo = "pyemby";
    tag = version;
    hash = "sha256-+A/SNMCUqo9TwWsQXwOKJCqmYhbilIdHYazLNQY+NkU=";
  };

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    async-timeout
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "pyemby" ];

  meta = {
    description = "Python library to interface with the Emby API";
    homepage = "https://github.com/mezz64/pyemby";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}