biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pyotgw / default.nix
blob322e915b9be9f70d0f3a5b270a57bb281d8842f3
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pyserial-asyncio-fast,
6   pytest-asyncio,
7   pytestCheckHook,
8   pythonOlder,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "pyotgw";
14   version = "2.2.1";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "mvn23";
21     repo = "pyotgw";
22     rev = "refs/tags/${version}";
23     hash = "sha256-jms7uSeafLxq26E9pyVVXtnW7yYD0OrU4KrXxTXoC4M=";
24   };
26   build-system = [ setuptools ];
28   dependencies = [ pyserial-asyncio-fast ];
30   nativeCheckInputs = [
31     pytest-asyncio
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [ "pyotgw" ];
37   disabledTests = [
38     # Tests require network access
39     "connect_timeouterror"
40   ];
42   meta = with lib; {
43     description = "Python module to interact the OpenTherm Gateway";
44     homepage = "https://github.com/mvn23/pyotgw";
45     changelog = "https://github.com/mvn23/pyotgw/blob/${version}/CHANGELOG.md";
46     license = with licenses; [ gpl3Plus ];
47     maintainers = with maintainers; [ fab ];
48   };