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:
parent
9ef587a977
commit
be61bb8425
44
pkgs/development/python-modules/pypalazzetti/default.nix
Normal file
44
pkgs/development/python-modules/pypalazzetti/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user