Merge pull request #305219 from r-ryantm/auto-update/python312Packages.aiounifi

python312Packages.aiounifi: 74 -> 75
This commit is contained in:
Fabian Affolter 2024-04-19 09:56:18 +02:00 committed by GitHub
commit 638b802e4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 24 deletions

View File

@ -1,21 +1,22 @@
{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, orjson
, pytest-aiohttp
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, segno
, setuptools
, trustme
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
orjson,
pytest-aiohttp,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
segno,
setuptools,
trustme,
}:
buildPythonPackage rec {
pname = "aiounifi";
version = "74";
version = "75";
pyproject = true;
disabled = pythonOlder "3.11";
@ -24,7 +25,7 @@ buildPythonPackage rec {
owner = "Kane610";
repo = "aiounifi";
rev = "refs/tags/v${version}";
hash = "sha256-5xxgpbnTqR8AWUvRQJiXGJECn0neV8QQyjYKw09sqZg=";
hash = "sha256-IPm3/i+JJpjVfRFq+Yq1mfajHL/mOARk5koyy/t37NQ=";
};
postPatch = ''
@ -35,9 +36,7 @@ buildPythonPackage rec {
sed -i '/--cov=/d' pyproject.toml
'';
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
aiohttp
@ -53,13 +52,9 @@ buildPythonPackage rec {
trustme
];
pytestFlagsArray = [
"--asyncio-mode=auto"
];
pytestFlagsArray = [ "--asyncio-mode=auto" ];
pythonImportsCheck = [
"aiounifi"
];
pythonImportsCheck = [ "aiounifi" ];
meta = with lib; {
description = "Python library for communicating with Unifi Controller API";