Merge pull request #325002 from fabaff/zha-bump

python312Packages.zha: 0.0.15 -> 0.0.16
This commit is contained in:
Fabian Affolter 2024-07-12 15:32:34 +02:00 committed by GitHub
commit c8d7f1f4e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@
buildPythonPackage rec {
pname = "zha";
version = "0.0.15";
version = "0.0.20";
pyproject = true;
disabled = pythonOlder "3.12";
@ -35,12 +35,12 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zha";
rev = "refs/tags/${version}";
hash = "sha256-k4Wqxv7WJGDDGXA80qW+RUICTUcgLsWJNiV+zsOkfuM=";
hash = "sha256-kmTOWHREdzXfgDPPs91GfQCgpmkUshwGtscOTT1WGns=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail '"setuptools-git-versioning<2"' "" \
--replace-fail '"setuptools-git-versioning<3"' "" \
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
'';
@ -115,7 +115,7 @@ buildPythonPackage rec {
description = "Zigbee Home Automation";
homepage = "https://github.com/zigpy/zha";
changelog = "https://github.com/zigpy/zha/releases/tag/${version}";
license = licenses.gpl3Only;
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}