diff options
Diffstat (limited to 'pkgs/development/python-modules/sunweg/default.nix')
-rw-r--r-- | pkgs/development/python-modules/sunweg/default.nix | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/sunweg/default.nix b/pkgs/development/python-modules/sunweg/default.nix index c662a01868ed..0880a5b11d75 100644 --- a/pkgs/development/python-modules/sunweg/default.nix +++ b/pkgs/development/python-modules/sunweg/default.nix @@ -1,15 +1,16 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pytestCheckHook -, pythonOlder -, requests -, setuptools +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pythonOlder, + python-dateutil, + requests, + setuptools, }: buildPythonPackage rec { pname = "sunweg"; - version = "2.1.1"; + version = "3.1.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -18,23 +19,20 @@ buildPythonPackage rec { owner = "rokam"; repo = "sunweg"; rev = "refs/tags/${version}"; - hash = "sha256-fgNtxCBIuNulCfuDaEsM7kL1WpwNE9O+JQ1DMZrz5jA="; + hash = "sha256-T67eH5WjS7J2pcNjq9psNmD4MwMfH+HRvk9llqI3FoQ="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ + python-dateutil requests ]; # Module has no tests doCheck = false; - pythonImportsCheck = [ - "sunweg" - ]; + pythonImportsCheck = [ "sunweg" ]; meta = with lib; { description = "Module to access the WEG solar energy platform"; |