depot/third_party/nixpkgs/pkgs/development/python-modules/aiolifx-themes/default.nix

49 lines
1 KiB
Nix
Raw Normal View History

{
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 ];
};
}