Merge pull request #312062 from r-ryantm/auto-update/python311Packages.gotailwind

python311Packages.gotailwind: 0.2.2 -> 0.2.3
This commit is contained in:
Fabian Affolter 2024-05-16 10:43:28 +02:00 committed by GitHub
commit 4bb12d6a4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,25 +1,26 @@
{ lib
, aiohttp
, aresponses
, awesomeversion
, backoff
, buildPythonPackage
, fetchFromGitHub
, mashumaro
, orjson
, poetry-core
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, syrupy
, typer
, yarl
, zeroconf
{
lib,
aiohttp,
aresponses,
awesomeversion,
backoff,
buildPythonPackage,
fetchFromGitHub,
mashumaro,
orjson,
poetry-core,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
syrupy,
typer,
yarl,
zeroconf,
}:
buildPythonPackage rec {
pname = "gotailwind";
version = "0.2.2";
version = "0.2.3";
pyproject = true;
disabled = pythonOlder "3.11";
@ -28,21 +29,19 @@ buildPythonPackage rec {
owner = "frenck";
repo = "python-gotailwind";
rev = "refs/tags/v${version}";
hash = "sha256-JtMBud3iON4xLc9dQdXniv51EBqs7zkat8cYm3q0uEE=";
hash = "sha256-FRFcFn5aRg+H9M6ZwEfLO1Dwcybvs0ODQv2ruCG+4v0=";
};
postPatch = ''
# Upstream doesn't set a version for the pyproject.toml
substituteInPlace pyproject.toml \
--replace "0.0.0" "${version}" \
--replace "--cov" ""
--replace-fail "0.0.0" "${version}" \
--replace-fail "--cov" ""
'';
nativeBuildInputs = [
poetry-core
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
aiohttp
awesomeversion
backoff
@ -53,9 +52,7 @@ buildPythonPackage rec {
];
passthru.optional-dependencies = {
cli = [
typer
];
cli = [ typer ];
};
nativeCheckInputs = [
@ -65,16 +62,14 @@ buildPythonPackage rec {
syrupy
];
pythonImportsCheck = [
"gotailwind"
];
pythonImportsCheck = [ "gotailwind" ];
meta = with lib; {
description = "Modul to communicate with Tailwind garage door openers";
mainProgram = "tailwind";
homepage = "https://github.com/frenck/python-gotailwind";
changelog = "https://github.com/frenck/python-gotailwind/releases/tag/v$version";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "tailwind";
};
}