Commit 281dde20 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

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
parent c99b6678
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -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