mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
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:
commit
794fa39b85
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue