python312Packages.weheat: init at 2024.09.10 (#341799)

This commit is contained in:
Fabian Affolter 2024-09-15 09:40:40 +02:00 committed by GitHub
commit 0567f3456d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{
lib,
aenum,
buildPythonPackage,
fetchFromGitHub,
pydantic,
python-dateutil,
pythonOlder,
setuptools,
urllib3,
}:
buildPythonPackage rec {
pname = "weheat";
version = "2024.09.10";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "wefabricate";
repo = "wh-python";
rev = "refs/tags/${version}";
hash = "sha256-D9m9IR5RTRphIgDX25izkbAHeLml9AYL6xdH46ryqaI=";
};
pythonRelaxDeps = [
"urllib3"
"pydantic"
];
build-system = [ setuptools ];
dependencies = [
aenum
pydantic
python-dateutil
urllib3
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "weheat" ];
meta = {
description = "Library to interact with the weheat API";
homepage = "https://github.com/wefabricate/wh-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@ -17313,6 +17313,8 @@ self: super: with self; {
weconnect-mqtt = callPackage ../development/python-modules/weconnect-mqtt { };
weheat = callPackage ../development/python-modules/weheat { };
werkzeug = callPackage ../development/python-modules/werkzeug { };
west = callPackage ../development/python-modules/west { };