diff --git a/pkgs/development/python-modules/aiolifx-themes/default.nix b/pkgs/development/python-modules/aiolifx-themes/default.nix index 8a10eb3cdb9b..33f3c963f5ea 100644 --- a/pkgs/development/python-modules/aiolifx-themes/default.nix +++ b/pkgs/development/python-modules/aiolifx-themes/default.nix @@ -1,18 +1,19 @@ -{ lib -, aiolifx -, async-timeout -, buildPythonPackage -, fetchFromGitHub -, poetry-core -, pytest-asyncio -, pytestCheckHook -, pythonOlder -, typer +{ + lib, + aiolifx, + async-timeout, + buildPythonPackage, + fetchFromGitHub, + poetry-core, + pytest-asyncio, + pytestCheckHook, + pythonOlder, + typer, }: buildPythonPackage rec { pname = "aiolifx-themes"; - version = "0.4.12"; + version = "0.4.14"; pyproject = true; disabled = pythonOlder "3.9"; @@ -21,23 +22,19 @@ buildPythonPackage rec { owner = "Djelibeybi"; repo = "aiolifx-themes"; rev = "refs/tags/v${version}"; - hash = "sha256-dV8xLZQaWiCSqXsY45vme4IMPT6UDmeAOkxEEU5UIW4="; + hash = "sha256-KlQKRcgxaWqRKIusnZGoBDEfKYF1Gn9EkrhJAftdUTc="; }; 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 = " + --replace-fail " --cov=aiolifx_themes --cov-report=term-missing:skip-covered" "" \ + --replace-fail "typer = " "# unused: typer = " ''; - nativeBuildInputs = [ - poetry-core - ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ - aiolifx - ]; + dependencies = [ aiolifx ]; nativeCheckInputs = [ async-timeout @@ -45,9 +42,7 @@ buildPythonPackage rec { pytest-asyncio ]; - pythonImportsCheck = [ - "aiolifx_themes" - ]; + pythonImportsCheck = [ "aiolifx_themes" ]; meta = with lib; { description = "Color themes for LIFX lights running on aiolifx";