diff --git a/pkgs/development/python-modules/py-improv-ble-client/default.nix b/pkgs/development/python-modules/py-improv-ble-client/default.nix index c878698e0bea..70270e72cb07 100644 --- a/pkgs/development/python-modules/py-improv-ble-client/default.nix +++ b/pkgs/development/python-modules/py-improv-ble-client/default.nix @@ -4,28 +4,25 @@ bleak, buildPythonPackage, fetchFromGitHub, - pythonOlder, setuptools, }: buildPythonPackage rec { pname = "py-improv-ble-client"; - version = "1.0.4"; + version = "2.0.1"; pyproject = true; - disabled = pythonOlder "3.11"; - src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "py-improv-ble-client"; tag = version; - hash = "sha256-leYSDB5/jFqlvX78OYzlFkkVxIkJ7iOUoLHBuVj7tAo="; + hash = "sha256-PkAZhKgj+xQtOOCccBXbR2QkwlkYavJe1pfU9nMhuVs="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail "setuptools~=65.6" "setuptools" \ - --replace-fail "wheel~=0.37.1" "wheel" + --replace-fail "setuptools>=65.6,<81.0" "setuptools" \ + --replace-fail "wheel>=0.37.1,<0.46.0" "wheel" ''; build-system = [ setuptools ]; @@ -43,7 +40,7 @@ buildPythonPackage rec { meta = { description = "Module to provision devices which implement Improv via BLE"; homepage = "https://github.com/home-assistant-libs/py-improv-ble-client"; - changelog = "https://github.com/home-assistant-libs/py-improv-ble-client/releases/tag/${version}"; + changelog = "https://github.com/home-assistant-libs/py-improv-ble-client/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };