python311Packages.zigpy-deconz: 0.21.1 -> 0.22.0

https://github.com/zigpy/zigpy-deconz/releases/tag/0.22.0
This commit is contained in:
Martin Weinelt 2023-11-22 15:55:29 +01:00
parent 1865c015ed
commit 9f757e54e5
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -6,13 +6,14 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
, zigpy
}:
buildPythonPackage rec {
pname = "zigpy-deconz";
version = "0.21.1";
format = "setuptools";
version = "0.22.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -20,9 +21,19 @@ buildPythonPackage rec {
owner = "zigpy";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-YRJMIpC6Zk5sQjGyzdEbQEeYgFJzIbxe4BReayceu10=";
hash = "sha256-pdWWI+yZh0uf2TzVbyJFIrxM2zfmaPG/PGZWaNNrZ6M=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace ', "setuptools-git-versioning<2"' "" \
--replace 'dynamic = ["version"]' 'version = "${version}"'
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pyserial
pyserial-asyncio