Unverified Commit 4b42e49b authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.python-opendata-transport: 0.5.0 -> 0.6.2 (#512353)

parents 39a29850 c9a17b85
Loading
Loading
Loading
Loading
+18 −13
Original line number Diff line number Diff line
@@ -2,39 +2,44 @@
  lib,
  aiohttp,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  fetchFromGitHub,
  hatchling,
  pytest-asyncio,
  pytestCheckHook,
  urllib3,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "python-opendata-transport";
  version = "0.5.0";
  version = "0.6.2";
  pyproject = true;

  src = fetchPypi {
    pname = "python_opendata_transport";
    inherit version;
    hash = "sha256-CtYsks7Q33ww0Mr9ehhq7+fJhCsj4gxKytiCZ6G4Aqc=";
  src = fetchFromGitHub {
    owner = "home-assistant-ecosystem";
    repo = "python-opendata-transport";
    tag = finalAttrs.version;
    hash = "sha256-CN+zy2x+4IKdAcpa2vIrOGXW39d+anU4HGPU83dGif0=";
  };

  build-system = [ setuptools ];
  build-system = [ hatchling ];

  dependencies = [
    aiohttp
    urllib3
  ];

  # No tests are present
  doCheck = false;
  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
  ];

  pythonImportsCheck = [ "opendata_transport" ];

  meta = {
    description = "Python client for interacting with transport.opendata.ch";
    homepage = "https://github.com/home-assistant-ecosystem/python-opendata-transport";
    changelog = "https://github.com/home-assistant-ecosystem/python-opendata-transport/releases/tag/${version}";
    changelog = "https://github.com/home-assistant-ecosystem/python-opendata-transport/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})