evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / iceportal / default.nix
blob0ec332e10dfd3e2e41e903609acb99da190ea0cd
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   poetry-core,
7   httpx,
8   pytest-asyncio,
9   pytest-httpx,
10   pytestCheckHook,
13 buildPythonPackage rec {
14   pname = "iceportal";
15   version = "1.2.0";
16   pyproject = true;
18   disabled = pythonOlder "3.9";
20   src = fetchFromGitHub {
21     owner = "home-assistant-ecosystem";
22     repo = "python-iceportal";
23     rev = "refs/tags/${version}";
24     hash = "sha256-kpAUgGi2fAHzQYuZAaQW9wdrYjwbduRsoTwSuzcjJa8=";
25   };
27   build-system = [ poetry-core ];
29   dependencies = [ httpx ];
31   nativeCheckInputs = [
32     pytest-asyncio
33     pytest-httpx
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [ "iceportal" ];
39   meta = with lib; {
40     description = "Library for getting data from the ICE Portal";
41     homepage = "https://github.com/home-assistant-ecosystem/python-iceportal";
42     changelog = "https://github.com/home-assistant-ecosystem/python-iceportal/releases/tag/${version}";
43     license = with licenses; [ mit ];
44     maintainers = with maintainers; [ fab ];
45   };