Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / vallox-websocket-api / default.nix
bloba27a512a448f3932e3512450321d06ede4e8f6a1
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , pythonOlder
5 , pythonRelaxDepsHook
6 , fetchFromGitHub
7 , setuptools
8 , construct
9 , websockets
10 , pytest-asyncio
11 , pytestCheckHook
14 buildPythonPackage rec {
15   pname = "vallox-websocket-api";
16   version = "5.2.0";
17   pyproject = true;
19   disabled = pythonOlder "3.9";
21   src = fetchFromGitHub {
22     owner = "yozik04";
23     repo = "vallox_websocket_api";
24     rev = "refs/tags/${version}";
25     hash = "sha256-qq58ZSrKVQ00rtXMe4L9xfz0QB+UpjGOhPo1srPYIY4=";
26   };
28   nativeBuildInputs = [
29     setuptools
30     pythonRelaxDepsHook
31   ];
33   pythonRelaxDeps = [
34     "websockets"
35   ];
37   propagatedBuildInputs = [
38     aiohttp
39     construct
40     websockets
41   ];
43   nativeCheckInputs = [
44     pytest-asyncio
45     pytestCheckHook
46   ];
48   pythonImportsCheck = [ "vallox_websocket_api" ];
50   meta = {
51     changelog = "https://github.com/yozik04/vallox_websocket_api/releases/tag/${version}";
52     description = "Async API for Vallox ventilation units";
53     homepage = "https://github.com/yozik04/vallox_websocket_api";
54     license = lib.licenses.lgpl3Only;
55     maintainers = with lib.maintainers; [ dotlambda ];
56   };