python3Packages.pyfronius: init at 0.5.2

This commit is contained in:
Fabian Affolter 2021-07-08 13:49:12 +02:00
parent 4d586a8cec
commit 524321e037
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyfronius";
version = "0.5.2";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "nielstron";
repo = pname;
rev = version;
sha256 = "013nlxbpicm4d07q8cjkbwh6xbji8am5la9vv5iqjyk0h4c2hgr7";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "pyfronius" ];
meta = with lib; {
description = "Python module to communicate with Fronius Symo";
homepage = "https://github.com/nielstron/pyfronius";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5952,6 +5952,8 @@ in {
pyfritzhome = callPackage ../development/python-modules/pyfritzhome { };
pyfronius = callPackage ../development/python-modules/pyfronius { };
pyftdi = callPackage ../development/python-modules/pyftdi { };
pyftgl = callPackage ../development/python-modules/pyftgl { };