From a004f2fdca7f3acc8a2b4e97bfe209ef2aba8afc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 19 May 2025 08:22:02 +0200 Subject: [PATCH] python313Packages.growattserver: refactor --- pkgs/development/python-modules/growattserver/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/growattserver/default.nix b/pkgs/development/python-modules/growattserver/default.nix index 669e1b693342..6c66ac1fa15e 100644 --- a/pkgs/development/python-modules/growattserver/default.nix +++ b/pkgs/development/python-modules/growattserver/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, requests, setuptools, }: @@ -12,8 +11,6 @@ buildPythonPackage rec { version = "1.7.1"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "indykoning"; repo = "PyPi_GrowattServer"; @@ -21,9 +18,9 @@ buildPythonPackage rec { hash = "sha256-rob2+uXuBD5Gf05rNFFEW210JxrTbWN7knk9Tnz7wOE="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ requests ]; + dependencies = [ requests ]; # Project has no tests doCheck = false;