Unverified Commit 42576ea3 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.volkszaehler: 0.5.2 -> 0.6.0 (#507561)

parents 67958080 3d5c124e
Loading
Loading
Loading
Loading
+15 −15
Original line number Diff line number Diff line
{
  lib,
  aiohttp,
  async-timeout,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  hatchling,
  pytest-asyncio,
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "volkszaehler";
  version = "0.5.2";
  version = "0.6.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "home-assistant-ecosystem";
    repo = "python-volkszaehler";
    tag = version;
    hash = "sha256-2XOV+Cft7xLIDNDpwNc+F8VasCYD8XEkxnwW0iS/p9U=";
    tag = finalAttrs.version;
    hash = "sha256-DgsP3ol6VcOnoUJF1eQjNWR45SokElNosyfgvPZVihU=";
  };

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

  dependencies = [
    aiohttp
    async-timeout
  ];
  dependencies = [ aiohttp ];

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

  pythonImportsCheck = [ "volkszaehler" ];

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