Skip to content

Commit a004f2f

Browse files
authored
python313Packages.growattserver: refactor
1 parent 9507717 commit a004f2f

File tree

1 file changed

+2
-5
lines changed
  • pkgs/development/python-modules/growattserver

1 file changed

+2
-5
lines changed

pkgs/development/python-modules/growattserver/default.nix

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5-
pythonOlder,
65
requests,
76
setuptools,
87
}:
@@ -12,18 +11,16 @@ buildPythonPackage rec {
1211
version = "1.7.1";
1312
pyproject = true;
1413

15-
disabled = pythonOlder "3.7";
16-
1714
src = fetchFromGitHub {
1815
owner = "indykoning";
1916
repo = "PyPi_GrowattServer";
2017
tag = version;
2118
hash = "sha256-rob2+uXuBD5Gf05rNFFEW210JxrTbWN7knk9Tnz7wOE=";
2219
};
2320

24-
nativeBuildInputs = [ setuptools ];
21+
build-system = [ setuptools ];
2522

26-
propagatedBuildInputs = [ requests ];
23+
dependencies = [ requests ];
2724

2825
# Project has no tests
2926
doCheck = false;

0 commit comments

Comments
 (0)