Merge pull request #301852 from r-ryantm/auto-update/python312Packages.aiolifx-themes

python312Packages.aiolifx-themes: 0.4.12 -> 0.4.14
This commit is contained in:
Fabian Affolter 2024-04-05 23:01:13 +02:00 committed by GitHub
commit 794fa39b85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 18 additions and 23 deletions

View File

@ -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";