blob: c4e96fe3ed78795d1b869e5a34da11775f2e9809 (
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
41
|
{
lib,
aiohttp,
async-upnp-client,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "devialet";
version = "1.5.7";
pyproject = true;
src = fetchFromGitHub {
owner = "fwestenberg";
repo = "devialet";
tag = "v${version}";
hash = "sha256-HmTiHa7DEmjARaYn7/OoGotnTirE7S7zXLK/TfHdEAg=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
async-upnp-client
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "devialet" ];
meta = {
description = "Library to interact with the Devialet API";
homepage = "https://github.com/fwestenberg/devialet";
changelog = "https://github.com/fwestenberg/devialet/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|