diff --git a/pkgs/development/python-modules/hass-nabucasa/default.nix b/pkgs/development/python-modules/hass-nabucasa/default.nix index 9ee4c0e3f968..ac32e43cf932 100644 --- a/pkgs/development/python-modules/hass-nabucasa/default.nix +++ b/pkgs/development/python-modules/hass-nabucasa/default.nix @@ -1,28 +1,29 @@ -{ lib -, acme -, aiohttp -, atomicwrites-homeassistant -, attrs -, buildPythonPackage -, ciso8601 -, cryptography -, fetchFromGitHub -, pycognito -, pyjwt -, pytest-aiohttp -, pytest-timeout -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, setuptools -, snitun -, syrupy -, xmltodict +{ + lib, + acme, + aiohttp, + atomicwrites-homeassistant, + attrs, + buildPythonPackage, + ciso8601, + cryptography, + fetchFromGitHub, + pycognito, + pyjwt, + pytest-aiohttp, + pytest-timeout, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, + setuptools, + snitun, + syrupy, + xmltodict, }: buildPythonPackage rec { pname = "hass-nabucasa"; - version = "0.79.0"; + version = "0.80.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -31,19 +32,16 @@ buildPythonPackage rec { owner = "nabucasa"; repo = "hass-nabucasa"; rev = "refs/tags/${version}"; - hash = "sha256-7VhafefF7imvnhdFo6K+18h5kmXvIatKerJ+Qn5zwdQ="; + hash = "sha256-8KxnS6LTK077/hr81JOiOj8GaNWBXO8XlvpYBm/sZbI="; }; - nativeBuildInputs = [ - setuptools - pythonRelaxDepsHook - ]; + pythonRelaxDeps = [ "acme" ]; - pythonRelaxDeps = [ - "acme" - ]; + nativeBuildInputs = [ pythonRelaxDepsHook ]; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ acme aiohttp atomicwrites-homeassistant @@ -63,13 +61,11 @@ buildPythonPackage rec { xmltodict ]; - pythonImportsCheck = [ - "hass_nabucasa" - ]; + pythonImportsCheck = [ "hass_nabucasa" ]; meta = with lib; { - homepage = "https://github.com/NabuCasa/hass-nabucasa"; description = "Python module for the Home Assistant cloud integration"; + homepage = "https://github.com/NabuCasa/hass-nabucasa"; changelog = "https://github.com/NabuCasa/hass-nabucasa/releases/tag/${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ Scriptkiddi ];