1{
2 aiofiles,
3 aiohttp,
4 appdirs,
5 async-timeout,
6 async-upnp-client,
7 buildPythonPackage,
8 deprecated,
9 fetchFromGitHub,
10 lib,
11 pytest-asyncio,
12 pytestCheckHook,
13 setuptools,
14}:
15
16buildPythonPackage rec {
17 pname = "python-linkplay";
18 version = "0.2.14";
19 pyproject = true;
20
21 src = fetchFromGitHub {
22 owner = "Velleman";
23 repo = "python-linkplay";
24 tag = "v${version}";
25 hash = "sha256-UGYvaprqwEDxLQZUqyl0NXaDvwx1pDRoTjpRRS1KJPc=";
26 };
27
28 build-system = [ setuptools ];
29
30 dependencies = [
31 aiofiles
32 aiohttp
33 appdirs
34 async-timeout
35 async-upnp-client
36 deprecated
37 ];
38
39 pythonImportsCheck = [ "linkplay" ];
40
41 nativeCheckInputs = [
42 pytest-asyncio
43 pytestCheckHook
44 ];
45
46 meta = {
47 changelog = "https://github.com/Velleman/python-linkplay/releases/tag/${src.tag}";
48 description = "Python Library for Seamless LinkPlay Device Control";
49 homepage = "https://github.com/Velleman/python-linkplay";
50 license = lib.licenses.mit;
51 maintainers = with lib.maintainers; [ dotlambda ];
52 };
53}