diff --git a/pkgs/development/python-modules/pvlib/default.nix b/pkgs/development/python-modules/pvlib/default.nix index 8f07f7bf0be6..8f7c58a3dfdf 100644 --- a/pkgs/development/python-modules/pvlib/default.nix +++ b/pkgs/development/python-modules/pvlib/default.nix @@ -9,6 +9,7 @@ , pytest-remotedata , pytest-rerunfailures , pytest-timeout +, pythonOlder , pytz , requests , requests-mock @@ -18,12 +19,14 @@ buildPythonPackage rec { pname = "pvlib"; - version = "0.10.0"; + version = "0.10.1"; format = "pyproject"; + disabled = pythonOlder "3.7"; + src = fetchPypi{ inherit pname version; - hash = "sha256-K/f6tjBznXYJz+Y5tVS1Bj+DKcPtCPlwiKe/YTEsGSI="; + hash = "sha256-H3wiNCmnZ6+GjXMhDbeOL98Yy7V6s2oOFAKWJCb8XCk="; }; nativeBuildInputs = [ @@ -48,9 +51,14 @@ buildPythonPackage rec { requests-mock ]; + pythonImportsCheck = [ + "pvlib" + ]; + meta = with lib; { homepage = "https://pvlib-python.readthedocs.io"; description = "Simulate the performance of photovoltaic energy systems"; + changelog = "https://pvlib-python.readthedocs.io/en/v${version}/whatsnew.html"; license = licenses.bsd3; maintainers = with maintainers; [ jluttine ]; };