Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 59 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, aiolifx, async-timeout, buildPythonPackage, fetchFromGitHub, poetry-core, pytest-asyncio, pytestCheckHook, pythonOlder, typer}:
buildPythonPackage rec { pname = "aiolifx-themes"; version = "0.4.12"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "Djelibeybi"; repo = "aiolifx-themes"; rev = "refs/tags/v${version}"; hash = "sha256-dV8xLZQaWiCSqXsY45vme4IMPT6UDmeAOkxEEU5UIW4="; };
prePatch = '' # Don't run coverage, or depend on typer for no reason. substituteInPlace pyproject.toml \ --replace " --cov=aiolifx_themes --cov-report=term-missing:skip-covered" "" \ --replace "typer = " "# unused: typer = " '';
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ aiolifx ];
nativeCheckInputs = [ async-timeout pytestCheckHook pytest-asyncio ];
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 ]; };}