python3Packages.aioaseko: init at 0.0.1

This commit is contained in:
Fabian Affolter 2022-02-03 09:10:19 +01:00
parent 42a14b7fbe
commit 241fc63f21
2 changed files with 41 additions and 0 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

@ -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 { };