3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #186094 from fabaff/pykostalpiko

python310Packages.pykostalpiko: init at 1.1.1-1
This commit is contained in:
Fabian Affolter 2022-08-12 10:44:59 +02:00 committed by GitHub
commit 88784742cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -7707,6 +7707,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 { };