Unverified Commit 3a8729e4 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.irm-kmi-api: init at 1.1.0 (#447243)

parents 49298988 1c882889
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  freezegun,
  lib,
  pytest-asyncio,
  pytestCheckHook,
  setuptools,
  svgwrite,
}:

buildPythonPackage rec {
  pname = "irm-kmi-api";
  version = "1.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jdejaegh";
    repo = "irm-kmi-api";
    tag = version;
    hash = "sha256-E8lf2TpeA91mRbxXYCsuum0mJdE5XLXX0l8CKEl5SFw=";
  };

  build-system = [ setuptools ];

  dependencies = [
    aiohttp
    svgwrite
  ];

  pythonImportsCheck = [ "irm_kmi_api" ];

  nativeCheckInputs = [
    freezegun
    pytest-asyncio
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/jdejaegh/irm-kmi-api/releases/tag/${src.tag}";
    description = "Retrieve data from the Belgian Royal Meteorological Institute";
    homepage = "https://github.com/jdejaegh/irm-kmi-api";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -7269,6 +7269,8 @@ self: super: with self; {
  irisclient = callPackage ../development/python-modules/irisclient { };
  irm-kmi-api = callPackage ../development/python-modules/irm-kmi-api { };
  isal = callPackage ../development/python-modules/isal { };
  isbnlib = callPackage ../development/python-modules/isbnlib { };