depot/third_party/nixpkgs/pkgs/development/python-modules/aiolifx-themes/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

48 lines
1 KiB
Nix

{
lib,
aiolifx,
async-timeout,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "aiolifx-themes";
version = "0.5.5";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "Djelibeybi";
repo = "aiolifx-themes";
rev = "refs/tags/v${version}";
hash = "sha256-Q4PlEnbdEUWYG/odD+xSG975lsRQqhOgFb//hk+PWIw=";
};
build-system = [ poetry-core ];
dependencies = [ aiolifx ];
nativeCheckInputs = [
async-timeout
pytestCheckHook
pytest-asyncio
pytest-cov-stub
];
pythonImportsCheck = [ "aiolifx_themes" ];
meta = with lib; {
description = "Color themes for LIFX lights running on aiolifx";
homepage = "https://github.com/Djelibeybi/aiolifx-themes";
changelog = "https://github.com/Djelibeybi/aiolifx-themes/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ lukegb ];
};
}