python312Packages.aiounifi: refactor

This commit is contained in:
Fabian Affolter 2024-03-27 17:32:08 +01:00 committed by GitHub
parent 57cfd14f85
commit 3922d07d15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -29,17 +29,17 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace "setuptools==" "setuptools>=" \
--replace "wheel==" "wheel>="
--replace-fail "setuptools==" "setuptools>=" \
--replace-fail "wheel==" "wheel>="
sed -i '/--cov=/d' pyproject.toml
'';
nativeBuildInputs = [
build-system = [
setuptools
];
propagatedBuildInputs = [
dependencies = [
aiohttp
orjson
segno
@ -63,10 +63,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python library for communicating with Unifi Controller API";
mainProgram = "aiounifi";
homepage = "https://github.com/Kane610/aiounifi";
changelog = "https://github.com/Kane610/aiounifi/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
mainProgram = "aiounifi";
};
}