blob: 7b265eeaf89de1acbdb23790a607944af395debb (
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
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "sonos-websocket";
version = "0.1.3";
pyproject = true;
src = fetchFromGitHub {
owner = "jjlawren";
repo = "sonos-websocket";
tag = version;
hash = "sha256-1sgYLwIW7VWnHJGsfIQ95AGZ5j/DPMKQr5n7F+/MsuY=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "sonos_websocket" ];
meta = {
description = "Library to communicate with Sonos devices over websockets";
homepage = "https://github.com/jjlawren/sonos-websocket";
changelog = "https://github.com/jjlawren/sonos-websocket/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|