python311Packages.aiounifi: refactor

This commit is contained in:
Fabian Affolter 2024-01-18 08:10:38 +01:00
parent b3301a36ea
commit b9915ba263

View File

@ -11,19 +11,18 @@
, segno , segno
, setuptools , setuptools
, trustme , trustme
, wheel
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiounifi"; pname = "aiounifi";
version = "69"; version = "69";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Kane610"; owner = "Kane610";
repo = pname; repo = "aiounifi";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-XYwdnG3OprHRZm3zQgoPw4VOzvvVflsQzi7+XQiASAU="; hash = "sha256-XYwdnG3OprHRZm3zQgoPw4VOzvvVflsQzi7+XQiASAU=";
}; };
@ -38,7 +37,6 @@ buildPythonPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
setuptools setuptools
wheel
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [