Merge pull request #157952 from fabaff/aurorapy

This commit is contained in:
Martin Weinelt 2022-02-03 21:25:11 +01:00 committed by GitHub
commit 07a283bb00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitLab
, future
, pyserial
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aurorapy";
version = "0.2.6";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitLab {
owner = "energievalsabbia";
repo = pname;
rev = version;
hash = "sha256-DMlzzLe94dbeHjESmLc045v7vQ//IEsngAv7TeVznHE=";
};
propagatedBuildInputs = [
future
pyserial
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"aurorapy"
];
meta = with lib; {
description = "Implementation of the communication protocol for Power-One Aurora inverters";
homepage = "https://gitlab.com/energievalsabbia/aurorapy";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -65,7 +65,7 @@
"atome" = ps: with ps; [ pyatome ];
"august" = ps: with ps; [ yalexs ];
"aurora" = ps: with ps; [ auroranoaa ];
"aurora_abb_powerone" = ps: with ps; [ ]; # missing inputs: aurorapy
"aurora_abb_powerone" = ps: with ps; [ aurorapy ];
"aussie_broadband" = ps: with ps; [ pyaussiebb ];
"auth" = ps: with ps; [ aiohttp-cors ];
"automation" = ps: with ps; [ aiohttp-cors ];
@ -1070,6 +1070,7 @@
"atag"
"august"
"aurora"
"aurora_abb_powerone"
"aussie_broadband"
"auth"
"automation"

View File

@ -752,6 +752,8 @@ in {
auroranoaa = callPackage ../development/python-modules/auroranoaa { };
aurorapy = callPackage ../development/python-modules/aurorapy { };
auth0-python = callPackage ../development/python-modules/auth0-python { };
authcaptureproxy = callPackage ../development/python-modules/authcaptureproxy { };