Merge pull request #157952 from fabaff/aurorapy

authored by Martin Weinelt and committed by GitHub 07a283bb 84a3eb37

+47 -1
+43
pkgs/development/python-modules/aurorapy/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitLab 4 + , future 5 + , pyserial 6 + , pytestCheckHook 7 + , pythonOlder 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "aurorapy"; 12 + version = "0.2.6"; 13 + format = "pyproject"; 14 + 15 + disabled = pythonOlder "3.7"; 16 + 17 + src = fetchFromGitLab { 18 + owner = "energievalsabbia"; 19 + repo = pname; 20 + rev = version; 21 + hash = "sha256-DMlzzLe94dbeHjESmLc045v7vQ//IEsngAv7TeVznHE="; 22 + }; 23 + 24 + propagatedBuildInputs = [ 25 + future 26 + pyserial 27 + ]; 28 + 29 + checkInputs = [ 30 + pytestCheckHook 31 + ]; 32 + 33 + pythonImportsCheck = [ 34 + "aurorapy" 35 + ]; 36 + 37 + meta = with lib; { 38 + description = "Implementation of the communication protocol for Power-One Aurora inverters"; 39 + homepage = "https://gitlab.com/energievalsabbia/aurorapy"; 40 + license = with licenses; [ mit ]; 41 + maintainers = with maintainers; [ fab ]; 42 + }; 43 + }
+2 -1
pkgs/servers/home-assistant/component-packages.nix
··· 65 65 "atome" = ps: with ps; [ pyatome ]; 66 66 "august" = ps: with ps; [ yalexs ]; 67 67 "aurora" = ps: with ps; [ auroranoaa ]; 68 - "aurora_abb_powerone" = ps: with ps; [ ]; # missing inputs: aurorapy 68 + "aurora_abb_powerone" = ps: with ps; [ aurorapy ]; 69 69 "aussie_broadband" = ps: with ps; [ pyaussiebb ]; 70 70 "auth" = ps: with ps; [ aiohttp-cors ]; 71 71 "automation" = ps: with ps; [ aiohttp-cors ]; ··· 1070 1070 "atag" 1071 1071 "august" 1072 1072 "aurora" 1073 + "aurora_abb_powerone" 1073 1074 "aussie_broadband" 1074 1075 "auth" 1075 1076 "automation"
+2
pkgs/top-level/python-packages.nix
··· 752 752 753 753 auroranoaa = callPackage ../development/python-modules/auroranoaa { }; 754 754 755 + aurorapy = callPackage ../development/python-modules/aurorapy { }; 756 + 755 757 auth0-python = callPackage ../development/python-modules/auth0-python { }; 756 758 757 759 authcaptureproxy = callPackage ../development/python-modules/authcaptureproxy { };