python311Packages.plugwise: 0.37.1 -> 0.37.2

Diff: plugwise/python-plugwise@refs/tags/v0.37.1...v0.37.2

Changelog: https://github.com/plugwise/python-plugwise/releases/tag/v0.37.2
This commit is contained in:
Fabian Affolter 2024-03-28 10:27:39 +01:00
parent c99b667849
commit 281dde2034
1 changed files with 8 additions and 7 deletions

View File

@ -21,7 +21,7 @@
buildPythonPackage rec {
pname = "plugwise";
version = "0.37.1";
version = "0.37.2";
pyproject = true;
disabled = pythonOlder "3.11";
@ -30,21 +30,22 @@ buildPythonPackage rec {
owner = "plugwise";
repo = "python-plugwise";
rev = "refs/tags/v${version}";
hash = "sha256-6o0g3il4GV6E8avp9V2YrkaVPf2z37asdJOxf6Phbmc=";
hash = "sha256-zPh4yko35aMhiTTIDbaBgVruRDyolhtvTzTIhF5fo+Y=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "setuptools~=68.0" "setuptools" \
--replace "wheel~=0.40.0" "wheel"
# setuptools
sed -i -e "s/~=[0-9.]*//" pyproject.toml
# wheel
sed -i -e "s/~=[0-9.]*//" pyproject.toml
'';
nativeBuildInputs = [
build-system = [
setuptools
wheel
];
propagatedBuildInputs = [
dependencies = [
aiohttp
async-timeout
crcmod