Merge pull request #121855 from fabaff/kostal-plenticore

python3Packages.pykoplenti: init at 1.0.0
This commit is contained in:
Martin Weinelt 2021-05-10 20:18:10 +02:00 committed by GitHub
commit c92a736b97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, aiohttp
, buildPythonPackage
, click
, fetchFromGitHub
, prompt_toolkit
, pycryptodome
, pythonOlder
}:
buildPythonPackage rec {
pname = "pykoplenti";
version = "1.0.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "stegm";
repo = pname;
rev = "v${version}";
sha256 = "12nsyz8a49vhby1jp991vaky82fm93jrgcsjzwa2rixwg1zql4sw";
};
propagatedBuildInputs = [
aiohttp
click
prompt_toolkit
pycryptodome
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pykoplenti" ];
meta = with lib; {
description = "Python REST client API for Kostal Plenticore Inverters";
homepage = "https://github.com/stegm/pykoplenti/";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5709,6 +5709,8 @@ in {
pykodi = callPackage ../development/python-modules/pykodi { };
pykoplenti = callPackage ../development/python-modules/pykoplenti { };
pykwalify = callPackage ../development/python-modules/pykwalify { };
pylacrosse = callPackage ../development/python-modules/pylacrosse { };