biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / nibe / default.nix
blobcba7bfe4b69af50428d9e5d517667b19bd1eed65
2   lib,
3   aresponses,
4   async-modbus,
5   async-timeout,
6   asyncclick,
7   buildPythonPackage,
8   construct,
9   exceptiongroup,
10   fetchFromGitHub,
11   pandas,
12   pytest-asyncio,
13   pytestCheckHook,
14   python-slugify,
15   pythonOlder,
16   setuptools,
17   tenacity,
20 buildPythonPackage rec {
21   pname = "nibe";
22   version = "2.12.0";
23   pyproject = true;
25   disabled = pythonOlder "3.9";
27   src = fetchFromGitHub {
28     owner = "yozik04";
29     repo = "nibe";
30     rev = "refs/tags/${version}";
31     hash = "sha256-Sqwwk++iA/PsAKZRkUPjXuzgSrhnH4N02c072pIVEyw=";
32   };
34   build-system = [ setuptools ];
36   dependencies = [
37     async-modbus
38     async-timeout
39     construct
40     exceptiongroup
41     tenacity
42   ];
44   optional-dependencies = {
45     convert = [
46       pandas
47       python-slugify
48     ];
49     cli = [ asyncclick ];
50   };
52   nativeCheckInputs = [
53     aresponses
54     pytest-asyncio
55     pytestCheckHook
56   ];
58   pythonImportsCheck = [ "nibe" ];
60   meta = with lib; {
61     description = "Library for the communication with Nibe heatpumps";
62     homepage = "https://github.com/yozik04/nibe";
63     changelog = "https://github.com/yozik04/nibe/releases/tag/${version}";
64     license = licenses.gpl3Plus;
65     maintainers = with maintainers; [ fab ];
66   };