blob: 49e1a6b5884dcb93f56f7aebd78c6803a6e30067 (
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
42
43
44
45
46
47
48
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
mashumaro,
orjson,
poetry-core,
pythonOlder,
yarl,
}:
buildPythonPackage rec {
pname = "aiostreammagic";
version = "2.11.0";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "noahhusby";
repo = "aiostreammagic";
tag = version;
hash = "sha256-8ahLB5F2JKpA4F21WWDFzrDxoOpIq+d1iXuCjQngGtc=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
mashumaro
orjson
yarl
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "aiostreammagic" ];
meta = {
description = "Module for interfacing with Cambridge Audio/Stream Magic compatible streamers";
homepage = "https://github.com/noahhusby/aiostreammagic";
changelog = "https://github.com/noahhusby/aiostreammagic/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|