diff --git a/pkgs/development/python-modules/blinkpy/default.nix b/pkgs/development/python-modules/blinkpy/default.nix index 0f9a6383ac50..428053437f7d 100644 --- a/pkgs/development/python-modules/blinkpy/default.nix +++ b/pkgs/development/python-modules/blinkpy/default.nix @@ -13,26 +13,31 @@ sortedcontainers, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "blinkpy"; - version = "0.25.6"; + version = "0.25.7"; pyproject = true; src = fetchFromGitHub { owner = "fronzbot"; repo = "blinkpy"; - tag = "v${version}"; - hash = "sha256-OAa5sYuFGsxiS5r+v69dnXCQs7rmAFAHbmNXm3S6cgY="; + tag = "v${finalAttrs.version}"; + hash = "sha256-/GaSnovF6IwIKdbQ4bTqXI/lZERa2DhbLalOO+ZYXEY="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail "wheel>=0.40,<0.47" wheel \ - --replace-fail "setuptools>=68,<81" setuptools + --replace-fail "wheel>=0.40,<0.48" wheel \ + --replace-fail "setuptools>=68,<83" setuptools ''; build-system = [ setuptools ]; + pythonRelaxDeps = [ + "aiohttp" + "requests" + ]; + dependencies = [ aiofiles aiohttp @@ -60,8 +65,8 @@ buildPythonPackage rec { meta = { description = "Python library for the Blink Camera system"; homepage = "https://github.com/fronzbot/blinkpy"; - changelog = "https://github.com/fronzbot/blinkpy/releases/tag/${src.tag}"; + changelog = "https://github.com/fronzbot/blinkpy/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; -} +})