1{
2 lib,
3 aiohttp,
4 async-timeout,
5 buildPythonPackage,
6 fetchFromGitHub,
7 pythonOlder,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "pyemby";
13 version = "1.10";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchFromGitHub {
19 owner = "mezz64";
20 repo = "pyemby";
21 tag = version;
22 hash = "sha256-+A/SNMCUqo9TwWsQXwOKJCqmYhbilIdHYazLNQY+NkU=";
23 };
24
25 build-system = [ setuptools ];
26
27 dependencies = [
28 aiohttp
29 async-timeout
30 ];
31
32 # Module has no tests
33 doCheck = false;
34
35 pythonImportsCheck = [ "pyemby" ];
36
37 meta = with lib; {
38 description = "Python library to interface with the Emby API";
39 homepage = "https://github.com/mezz64/pyemby";
40 license = licenses.mit;
41 maintainers = with maintainers; [ fab ];
42 };
43}