Merge pull request #128552 from fabaff/pyfronius
python3Packages.pyfronius: init at 0.5.2
This commit is contained in:
commit
2d9425cae4
3 changed files with 40 additions and 1 deletions
37
pkgs/development/python-modules/pyfronius/default.nix
Normal file
37
pkgs/development/python-modules/pyfronius/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -287,7 +287,7 @@
|
|||
"fritzbox" = ps: with ps; [ pyfritzhome ];
|
||||
"fritzbox_callmonitor" = ps: with ps; [ fritzconnection ];
|
||||
"fritzbox_netmonitor" = ps: with ps; [ fritzconnection ];
|
||||
"fronius" = ps: with ps; [ ]; # missing inputs: pyfronius
|
||||
"fronius" = ps: with ps; [ pyfronius ];
|
||||
"frontend" = ps: with ps; [ aiohttp-cors home-assistant-frontend pillow ];
|
||||
"frontier_silicon" = ps: with ps; [ ]; # missing inputs: afsapi
|
||||
"futurenow" = ps: with ps; [ pyfnip ];
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue