2021-03-04 19:14:30 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiolyric";
|
2022-02-25 03:41:52 +00:00
|
|
|
version = "1.0.10";
|
2022-02-25 07:32:15 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2021-03-04 19:14:30 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "timmo001";
|
|
|
|
repo = pname;
|
2022-12-04 10:33:24 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2022-02-25 07:32:15 +00:00
|
|
|
hash = "sha256-yKeG0UCQ8haT1hvywoIwKQ519GK2wFg0wXaRTFeKYIk=";
|
2021-03-04 19:14:30 +00:00
|
|
|
};
|
|
|
|
|
2022-02-25 07:32:15 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
];
|
2021-03-04 19:14:30 +00:00
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2022-02-25 07:32:15 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
2021-03-04 19:14:30 +00:00
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
# AssertionError, https://github.com/timmo001/aiolyric/issues/5
|
|
|
|
"test_location"
|
2022-02-25 07:37:44 +00:00
|
|
|
];
|
2022-02-25 07:32:15 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"aiolyric"
|
2021-03-04 19:14:30 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module for the Honeywell Lyric Platform";
|
|
|
|
homepage = "https://github.com/timmo001/aiolyric";
|
2022-12-04 10:33:24 +00:00
|
|
|
changelog = "https://github.com/timmo001/aiolyric/releases/tag/v${version}";
|
2021-03-04 19:14:30 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|