Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / velbus-aio / default.nix
blobf754c828dea3d8dfab1822bac5854e0077eb5fea
2   lib,
3   backoff,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pythonOlder,
7   pyserial,
8   pyserial-asyncio,
9   pytestCheckHook,
10   setuptools,
13 buildPythonPackage rec {
14   pname = "velbus-aio";
15   version = "2024.4.1";
16   pyproject = true;
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "Cereal2nd";
22     repo = "velbus-aio";
23     rev = "refs/tags/${version}";
24     hash = "sha256-rskWnH5zFvBuNL5eJ8O4D6htRP/XtFcq1xH8ZXzT1I4=";
25     fetchSubmodules = true;
26   };
28   build-system = [ setuptools ];
30   dependencies = [
31     backoff
32     pyserial
33     pyserial-asyncio
34   ];
36   nativeCheckInputs = [ pytestCheckHook ];
38   pythonImportsCheck = [ "velbusaio" ];
40   meta = with lib; {
41     description = "Python library to support the Velbus home automation system";
42     homepage = "https://github.com/Cereal2nd/velbus-aio";
43     changelog = "https://github.com/Cereal2nd/velbus-aio/releases/tag/${version}";
44     license = with licenses; [ asl20 ];
45     maintainers = with maintainers; [ fab ];
46   };