python312Packages.pypalazzetti: init at 0.1.14

Library to access and control a Palazzetti stove through a Connection Box

https://github.com/dotvav/py-palazzetti-api
This commit is contained in:
Fabian Affolter 2024-11-27 00:02:17 +01:00
parent 9ef587a977
commit be61bb8425
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pypalazzetti";
version = "0.1.14";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "dotvav";
repo = "py-palazzetti-api";
rev = "refs/tags/v${version}";
hash = "sha256-TDD3/UghNtsSAWV0k1I4MOjTFZB+sBqGgpKwy1p9Gx4=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "pypalazzetti" ];
meta = {
description = "Library to access and control a Palazzetti stove through a Connection Box";
homepage = "https://github.com/dotvav/py-palazzetti-api";
changelog = "https://github.com/dotvav/py-palazzetti-api/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@ -12095,6 +12095,8 @@ self: super: with self; {
inherit python;
});
pypalazzetti = callPackage ../development/python-modules/pypalazzetti { };
pypandoc = callPackage ../development/python-modules/pypandoc { };
pyparser = callPackage ../development/python-modules/pyparser { };