python310Packages.pykostalpiko: init at 1.1.1-1

This commit is contained in:
Fabian Affolter 2022-08-11 14:14:04 +02:00
parent d69a36d1c1
commit 5aa47e1162
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, aiohttp
, buildPythonPackage
, click
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pykostalpiko";
version = "1.1.1-1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Florian7843";
repo = pname;
rev = "v${version}";
hash = "sha256-0szkxR19iSWWpPAEo3wriMmI5TFI6YeYRTj86b4rKlU=";
};
propagatedBuildInputs = [
aiohttp
click
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"pykostalpiko"
];
meta = with lib; {
description = "Library and CLI-tool to fetch the data from a Kostal Piko inverter";
homepage = "https://github.com/Florian7843/pykostalpiko";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7701,6 +7701,8 @@ in {
pykoplenti = callPackage ../development/python-modules/pykoplenti { };
pykostalpiko = callPackage ../development/python-modules/pykostalpiko { };
pykulersky = callPackage ../development/python-modules/pykulersky { };
pykwalify = callPackage ../development/python-modules/pykwalify { };