Unverified Commit c6133694 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.hko: init at 0.3.2 (#431800)

parents 8dc1cb48 aa1b71c5
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -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"
+2 −0
Original line number Diff line number Diff line
@@ -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 { };