blob: 4411b52a344f9940dc723ac95a8c041299ae1d53 (
plain) (
blame)
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
49
50
51
52
53
|
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
incremental,
pythonOlder,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "aiolyric";
version = "2.0.1";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "timmo001";
repo = "aiolyric";
rev = "refs/tags/${version}";
hash = "sha256-pN/F4Rdov06sm1yfJQEzmWyujWVeVU+bNGGkgnN4jYw=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
incremental
];
nativeCheckInputs = [
aioresponses
pytestCheckHook
];
disabledTests = [
# AssertionError, https://github.com/timmo001/aiolyric/issues/61
"test_priority"
];
pythonImportsCheck = [ "aiolyric" ];
meta = with lib; {
description = "Python module for the Honeywell Lyric Platform";
homepage = "https://github.com/timmo001/aiolyric";
changelog = "https://github.com/timmo001/aiolyric/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|