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 {
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