python3Packages.solax: init at 0.2.5
This commit is contained in:
parent
bc59568196
commit
82b980405e
41
pkgs/development/python-modules/solax/default.nix
Normal file
41
pkgs/development/python-modules/solax/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytest-cov
|
||||||
|
, pytest-httpserver
|
||||||
|
, pytestCheckHook
|
||||||
|
, setuptools-scm
|
||||||
|
, voluptuous
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "solax";
|
||||||
|
version = "0.2.5";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0h7q6y2cdkj9dqxw0k7pgz7a7vbpq1qw50pmy9rajphhv2600cbc";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ setuptools-scm ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ aiohttp voluptuous ];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-asyncio
|
||||||
|
pytest-cov
|
||||||
|
pytest-httpserver
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "solax" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python wrapper for the Solax Inverter API";
|
||||||
|
homepage = "https://github.com/squishykid/solax";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -7264,6 +7264,8 @@ in {
|
|||||||
|
|
||||||
softlayer = callPackage ../development/python-modules/softlayer { };
|
softlayer = callPackage ../development/python-modules/softlayer { };
|
||||||
|
|
||||||
|
solax = callPackage ../development/python-modules/solax { };
|
||||||
|
|
||||||
solo-python = disabledIf (!pythonAtLeast "3.6") (callPackage ../development/python-modules/solo-python { });
|
solo-python = disabledIf (!pythonAtLeast "3.6") (callPackage ../development/python-modules/solo-python { });
|
||||||
|
|
||||||
somajo = callPackage ../development/python-modules/somajo { };
|
somajo = callPackage ../development/python-modules/somajo { };
|
||||||
|
Loading…
Reference in New Issue
Block a user