blob: 79558ce4a65c2b9f94e5e9c045c222552231c74c (
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
|
{
lib,
buildPythonPackage,
construct,
packaging,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "snapcast";
version = "2.3.7";
pyproject = true;
src = fetchFromGitHub {
owner = "happyleavesaoc";
repo = "python-snapcast";
tag = version;
hash = "sha256-k6U13vkeOAip94hcEjssFgvMnhpOXG87E0R2Zu1YyY4=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
construct
packaging
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "snapcast" ];
disabledTests = [
# AssertionError and TypeError
"test_stream_setmeta"
"est_stream_setproperty"
];
meta = {
description = "Control Snapcast, a multi-room synchronous audio solution";
homepage = "https://github.com/happyleavesaoc/python-snapcast/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ peterhoeg ];
};
}
|