Merge pull request #157953 from fabaff/aioaseko

This commit is contained in:
Martin Weinelt 2022-02-03 20:41:43 +01:00 committed by GitHub
commit fd3cf7ff9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,39 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioaseko";
version = "0.0.1";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "milanmeu";
repo = pname;
rev = "v${version}";
hash = "sha256-dfU2J4aDKNR+GoEmdq/NhX4Mrmm9tmCkse1tb+V5EFQ=";
};
propagatedBuildInputs = [
aiohttp
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"aioaseko"
];
meta = with lib; {
description = "Module to interact with the Aseko Pool Live API";
homepage = "https://github.com/milanmeu/aioaseko";
license = with licenses; [ lgpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -56,7 +56,7 @@
"arris_tg2492lg" = ps: with ps; [ ]; # missing inputs: arris-tg2492lg
"aruba" = ps: with ps; [ pexpect ];
"arwn" = ps: with ps; [ aiohttp-cors paho-mqtt ];
"aseko_pool_live" = ps: with ps; [ ]; # missing inputs: aioaseko
"aseko_pool_live" = ps: with ps; [ aioaseko ];
"asterisk_cdr" = ps: with ps; [ ]; # missing inputs: asterisk_mbox
"asterisk_mbox" = ps: with ps; [ ]; # missing inputs: asterisk_mbox
"asuswrt" = ps: with ps; [ aioasuswrt ];
@ -1065,6 +1065,7 @@
"aprs"
"arcam_fmj"
"arlo"
"aseko_pool_live"
"asuswrt"
"atag"
"august"

View File

@ -258,6 +258,8 @@ in {
aioamqp = callPackage ../development/python-modules/aioamqp { };
aioaseko = callPackage ../development/python-modules/aioaseko { };
aioasuswrt = callPackage ../development/python-modules/aioasuswrt { };
aioazuredevops = callPackage ../development/python-modules/aioazuredevops { };