evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / aiolyric / default.nix
blob9119e2e3b5360db86e2194f4df2cc20b97a4a4cc
2   lib,
3   aiohttp,
4   aioresponses,
5   buildPythonPackage,
6   fetchFromGitHub,
7   incremental,
8   pythonOlder,
9   pytest-asyncio,
10   pytestCheckHook,
11   setuptools,
14 buildPythonPackage rec {
15   pname = "aiolyric";
16   version = "2.0.1";
17   pyproject = true;
19   disabled = pythonOlder "3.11";
21   src = fetchFromGitHub {
22     owner = "timmo001";
23     repo = "aiolyric";
24     rev = "refs/tags/${version}";
25     hash = "sha256-pN/F4Rdov06sm1yfJQEzmWyujWVeVU+bNGGkgnN4jYw=";
26   };
28   postPatch = ''
29     substituteInPlace requirements_setup.txt \
30       --replace-fail "==" ">="
31   '';
33   build-system = [
34     incremental
35     setuptools
36   ];
38   dependencies = [
39     aiohttp
40     incremental
41   ];
43   nativeCheckInputs = [
44     aioresponses
45     pytest-asyncio
46     pytestCheckHook
47   ];
49   pythonImportsCheck = [ "aiolyric" ];
51   meta = with lib; {
52     description = "Python module for the Honeywell Lyric Platform";
53     homepage = "https://github.com/timmo001/aiolyric";
54     changelog = "https://github.com/timmo001/aiolyric/releases/tag/v${version}";
55     license = with licenses; [ mit ];
56     maintainers = with maintainers; [ fab ];
57   };