mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #157952 from fabaff/aurorapy
This commit is contained in:
commit
07a283bb00
43
pkgs/development/python-modules/aurorapy/default.nix
Normal file
43
pkgs/development/python-modules/aurorapy/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user