From eb0b1a9e1520baf584e35a03a868e54cfab8f7e4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 22:05:27 +0200 Subject: [PATCH] python312Packages.hass-nabucasa: refactor --- .../python-modules/hass-nabucasa/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/hass-nabucasa/default.nix b/pkgs/development/python-modules/hass-nabucasa/default.nix index 6fa5f597d0b0..aa294c99eeea 100644 --- a/pkgs/development/python-modules/hass-nabucasa/default.nix +++ b/pkgs/development/python-modules/hass-nabucasa/default.nix @@ -34,16 +34,19 @@ buildPythonPackage rec { hash = "sha256-8KxnS6LTK077/hr81JOiOj8GaNWBXO8XlvpYBm/sZbI="; }; - nativeBuildInputs = [ - setuptools - pythonRelaxDepsHook - ]; - pythonRelaxDeps = [ "acme" ]; - propagatedBuildInputs = [ + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + + build-system = [ + setuptools + ]; + + dependencies = [ acme aiohttp atomicwrites-homeassistant @@ -68,8 +71,8 @@ buildPythonPackage rec { ]; 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 ];