blob: 1154fbcc19fa8ca5ae0f99d9ea998e4ff4ccd2c9 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
requests,
}:
buildPythonPackage rec {
pname = "russound";
version = "0.1.8";
pyproject = true;
src = fetchFromGitHub {
owner = "laf";
repo = "russound";
tag = version;
hash = "sha256-iAhHOZwgaLhgkN/oW3Oz9bazyoqlP8GIsaXpqyXs3/Y=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# Tests require actual hardware to connect to
doCheck = false;
pythonImportsCheck = [ "russound" ];
meta = {
description = "Python API for select Russound RNET commands to provide Russound support within home-assistant.io";
homepage = "https://github.com/laf/russound";
changelog = "https://github.com/laf/russound/releases/tag/${version}";
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
|