2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
aiolifx,
|
|
|
|
async-timeout,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
poetry-core,
|
|
|
|
pytest-asyncio,
|
2024-09-19 14:19:46 +00:00
|
|
|
pytest-cov-stub,
|
2024-04-21 15:54:59 +00:00
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
2022-11-04 12:27:35 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiolifx-themes";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.5.5";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
2022-11-04 12:27:35 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Djelibeybi";
|
|
|
|
repo = "aiolifx-themes";
|
2022-12-02 08:20:57 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-Q4PlEnbdEUWYG/odD+xSG975lsRQqhOgFb//hk+PWIw=";
|
2022-11-04 12:27:35 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [ poetry-core ];
|
2022-11-04 12:27:35 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
dependencies = [ aiolifx ];
|
2022-11-04 12:27:35 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-11-04 12:27:35 +00:00
|
|
|
async-timeout
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-asyncio
|
2024-09-19 14:19:46 +00:00
|
|
|
pytest-cov-stub
|
2022-11-04 12:27:35 +00:00
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
pythonImportsCheck = [ "aiolifx_themes" ];
|
2022-11-04 12:27:35 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Color themes for LIFX lights running on aiolifx";
|
|
|
|
homepage = "https://github.com/Djelibeybi/aiolifx-themes";
|
2022-12-02 08:20:57 +00:00
|
|
|
changelog = "https://github.com/Djelibeybi/aiolifx-themes/releases/tag/v${version}";
|
2022-11-04 12:27:35 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lukegb ];
|
|
|
|
};
|
|
|
|
}
|