Unverified Commit 4e391b3f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #299702 from fabaff/plugwise-bump

python311Packages.plugwise: 0.37.1 -> 0.37.2
parents 3dedc962 281dde20
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