python3Packages.hko: init at 0.3.2 (#431800)
This commit is contained in:
commit
c6133694a0
34
pkgs/development/python-modules/hko/default.nix
Normal file
34
pkgs/development/python-modules/hko/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -2292,7 +2292,8 @@
|
|||||||
];
|
];
|
||||||
"hko" =
|
"hko" =
|
||||||
ps: with ps; [
|
ps: with ps; [
|
||||||
]; # missing inputs: hko
|
hko
|
||||||
|
];
|
||||||
"hlk_sw16" =
|
"hlk_sw16" =
|
||||||
ps: with ps; [
|
ps: with ps; [
|
||||||
hlk-sw16
|
hlk-sw16
|
||||||
@ -7143,6 +7144,7 @@
|
|||||||
"history"
|
"history"
|
||||||
"history_stats"
|
"history_stats"
|
||||||
"hive"
|
"hive"
|
||||||
|
"hko"
|
||||||
"hlk_sw16"
|
"hlk_sw16"
|
||||||
"holiday"
|
"holiday"
|
||||||
"home_connect"
|
"home_connect"
|
||||||
|
|||||||
@ -6584,6 +6584,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
hkavr = callPackage ../development/python-modules/hkavr { };
|
hkavr = callPackage ../development/python-modules/hkavr { };
|
||||||
|
|
||||||
|
hko = callPackage ../development/python-modules/hko { };
|
||||||
|
|
||||||
hledger-utils = callPackage ../development/python-modules/hledger-utils { };
|
hledger-utils = callPackage ../development/python-modules/hledger-utils { };
|
||||||
|
|
||||||
hlk-sw16 = callPackage ../development/python-modules/hlk-sw16 { };
|
hlk-sw16 = callPackage ../development/python-modules/hlk-sw16 { };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user