python312Packages.aioweenect: 1.1.1 -> 1.1.2

Diff: eifinger/aioweenect@refs/tags/v1.1.1...v1.1.2

Changelog: https://github.com/eifinger/aioweenect/releases/tag/v1.1.2
This commit is contained in:
Fabian Affolter 2024-08-05 23:30:55 +02:00
parent 54a75f91a5
commit 878019765b

View File

@ -4,7 +4,8 @@
aresponses,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
hatchling,
httpx,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
@ -12,26 +13,31 @@
buildPythonPackage rec {
pname = "aioweenect";
version = "1.1.1";
format = "pyproject";
version = "1.1.2";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "eifinger";
repo = pname;
repo = "aioweenect";
rev = "refs/tags/v${version}";
hash = "sha256-9CYdOUPCt4TkepVuVJHMZngFHyCLFwVvik1xDnfneEc=";
hash = "sha256-qVhF+gy5qcH/okuncDuzbAUPonkmQo1/QwOjC70IV4w=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "--cov --cov-report term-missing --cov-report xml --cov=aioweenect tests" ""
--replace-fail "--cov --cov-report term-missing --cov=src/aioweenect --asyncio-mode=auto" ""
'';
nativeBuildInputs = [ poetry-core ];
pythonRelaxDeps = [ "aiohttp" ];
propagatedBuildInputs = [ aiohttp ];
build-system = [ hatchling ];
dependencies = [
aiohttp
httpx
];
nativeCheckInputs = [
aresponses
@ -44,6 +50,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library for the weenect API";
homepage = "https://github.com/eifinger/aioweenect";
changelog = "https://github.com/eifinger/aioweenect/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};