2021-03-09 03:18:52 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
, pytestCheckHook
|
2024-04-21 15:54:59 +00:00
|
|
|
, setuptools
|
2021-03-09 03:18:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiolyric";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2.0.0";
|
|
|
|
pyproject = true;
|
2022-03-05 16:20:37 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "timmo001";
|
2024-04-21 15:54:59 +00:00
|
|
|
repo = "aiolyric";
|
|
|
|
rev = "refs/tags/${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-FZhLjVrLzLv6CZz/ROlvbtBK9XnpO8pG48aSIoBxhCo=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = [
|
2022-03-05 16:20:37 +00:00
|
|
|
aiohttp
|
|
|
|
];
|
2021-03-09 03:18:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-03-05 16:20:37 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
disabledTests = [
|
2023-10-09 19:29:22 +00:00
|
|
|
# AssertionError, https://github.com/timmo001/aiolyric/issues/61
|
|
|
|
"test_priority"
|
2021-03-09 03:18:52 +00:00
|
|
|
];
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"aiolyric"
|
|
|
|
];
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module for the Honeywell Lyric Platform";
|
|
|
|
homepage = "https://github.com/timmo001/aiolyric";
|
2022-12-17 10:02:37 +00:00
|
|
|
changelog = "https://github.com/timmo001/aiolyric/releases/tag/v${version}";
|
2021-03-09 03:18:52 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|