14 buildPythonPackage rec {
19 disabled = pythonOlder "3.7";
21 src = fetchFromGitHub {
24 rev = "refs/tags/v${version}";
25 hash = "sha256-2sGkHCIGo1lzLurvQBmq+16sodAaK8v+mAbIH/Gd3+E=";
28 pythonRelaxDeps = [ "pydantic" ];
34 propagatedBuildInputs = [
40 optional-dependencies = {
47 # Project has no tests
50 pythonImportsCheck = [ "pykoplenti" ];
53 description = "Python REST client API for Kostal Plenticore Inverters";
54 mainProgram = "pykoplenti";
55 homepage = "https://github.com/stegm/pykoplenti/";
56 changelog = "https://github.com/stegm/pykoplenti/releases/tag/v${version}";
57 license = with licenses; [ asl20 ];
58 maintainers = with maintainers; [ fab ];