python3Packages.hanna-cloud: init at 0.0.7 (#494241)

This commit is contained in:
Martin Weinelt 2026-03-01 21:07:51 +00:00 committed by GitHub
commit c7c1c15043
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 45 additions and 1 deletions

View file

@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pycryptodome,
requests,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "hanna-cloud";
version = "0.0.7";
pyproject = true;
src = fetchFromGitHub {
owner = "bestycame";
repo = "hanna_cloud";
tag = finalAttrs.version;
hash = "sha256-UYwM1IbU4LlgBBEbMYX5ovf5/8N1SwyeKTHz6TYZZ24=";
};
build-system = [ setuptools ];
dependencies = [
pycryptodome
requests
];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "hanna_cloud" ];
meta = {
description = "Python client for the HannaCloud API";
homepage = "https://github.com/bestycame/hanna_cloud";
changelog = "https://github.com/bestycame/hanna_cloud/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
})

View file

@ -2291,7 +2291,8 @@
];
"hanna" =
ps: with ps; [
]; # missing inputs: hanna-cloud
hanna-cloud
];
"hardkernel" =
ps: with ps; [
aiohasupervisor

View file

@ -6854,6 +6854,8 @@ self: super: with self; {
hankel = callPackage ../development/python-modules/hankel { };
hanna-cloud = callPackage ../development/python-modules/hanna-cloud { };
hanzidentifier = callPackage ../development/python-modules/hanzidentifier { };
hap-python = callPackage ../development/python-modules/hap-python { };