python3Packages.hko: init at 0.3.2 (#431800)

This commit is contained in:
Martin Weinelt 2025-08-07 19:38:46 +02:00 committed by GitHub
commit c6133694a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 39 additions and 1 deletions

View File

@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
aiohttp,
}:
buildPythonPackage rec {
pname = "hko";
version = "0.3.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-6FzdaSaw7sX52wM8HbHFGtKdR2JBg3B2cMZnP7RfQzs=";
};
build-system = [ poetry-core ];
dependencies = [ aiohttp ];
# Tests require network access
doCheck = false;
pythonImportsCheck = [ "hko" ];
meta = {
description = "Unofficial Python wrapper for the Hong Kong Observatory public API";
homepage = "https://github.com/MisterCommand/python-hko";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}

View File

@ -2292,7 +2292,8 @@
];
"hko" =
ps: with ps; [
]; # missing inputs: hko
hko
];
"hlk_sw16" =
ps: with ps; [
hlk-sw16
@ -7143,6 +7144,7 @@
"history"
"history_stats"
"hive"
"hko"
"hlk_sw16"
"holiday"
"home_connect"

View File

@ -6584,6 +6584,8 @@ self: super: with self; {
hkavr = callPackage ../development/python-modules/hkavr { };
hko = callPackage ../development/python-modules/hko { };
hledger-utils = callPackage ../development/python-modules/hledger-utils { };
hlk-sw16 = callPackage ../development/python-modules/hlk-sw16 { };