Merge pull request #234694 from fabaff/solax-bump

python311Packages.solax: 0.3.0 -> 0.3.1

Changed files
+16 -5
pkgs
development
python-modules
solax
+16 -5
pkgs/development/python-modules/solax/default.nix
···
, pytest-cov
, pytest-httpserver
, pytestCheckHook
, setuptools-scm
, voluptuous
}:
buildPythonPackage rec {
pname = "solax";
-
version = "0.3.0";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-lqzFY2Rfmc/9KUuFfq07DZkIIS2cJ1JqZ/8gP3+pu5U=";
};
-
nativeBuildInputs = [ setuptools-scm ];
-
propagatedBuildInputs = [ aiohttp voluptuous ];
nativeCheckInputs = [
pytest-asyncio
···
pytestCheckHook
];
-
pythonImportsCheck = [ "solax" ];
meta = with lib; {
description = "Python wrapper for the Solax Inverter API";
···
, pytest-cov
, pytest-httpserver
, pytestCheckHook
+
, pythonOlder
, setuptools-scm
, voluptuous
}:
buildPythonPackage rec {
pname = "solax";
+
version = "0.3.1";
+
format = "setuptools";
+
+
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
+
hash = "sha256-kseU6JK00GTPyqdWku2ceT5/mChMVVPgEEib3BmjI/g=";
};
+
nativeBuildInputs = [
+
setuptools-scm
+
];
+
propagatedBuildInputs = [
+
aiohttp
+
voluptuous
+
];
nativeCheckInputs = [
pytest-asyncio
···
pytestCheckHook
];
+
pythonImportsCheck = [
+
"solax"
+
];
meta = with lib; {
description = "Python wrapper for the Solax Inverter API";