Merge pull request #299702 from fabaff/plugwise-bump

python311Packages.plugwise: 0.37.1 -> 0.37.2
This commit is contained in:
Fabian Affolter 2024-03-28 12:14:23 +01:00 committed by GitHub
commit 4e391b3f4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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