Merge pull request #307942 from fabaff/pyotgw-bump

python312Packages.pyotgw: 2.1.3 -> 2.2.0

authored by Nick Cao and committed by GitHub 590ecfa4 e2132305

+18 -17
+18 -17
pkgs/development/python-modules/pyotgw/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchFromGitHub 4 - , pyserial-asyncio 5 - , pytest-asyncio 6 - , pytestCheckHook 7 - , pythonOlder 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + pyserial-asyncio, 6 + pyserial-asyncio-fast, 7 + pytest-asyncio, 8 + pytestCheckHook, 9 + pythonOlder, 10 + setuptools, 8 11 }: 9 12 10 13 buildPythonPackage rec { 11 14 pname = "pyotgw"; 12 - version = "2.1.3"; 13 - format = "setuptools"; 15 + version = "2.2.0"; 16 + pyproject = true; 14 17 15 18 disabled = pythonOlder "3.8"; 16 19 17 20 src = fetchFromGitHub { 18 21 owner = "mvn23"; 19 - repo = pname; 22 + repo = "pyotgw"; 20 23 rev = "refs/tags/${version}"; 21 - hash = "sha256-XIwBGjvIulKLmYZIorKIJwoHTNOIYYX8US2Na8MZ2LA="; 24 + hash = "sha256-SowM+glni1PGkM87JT9+QWTD4Tu9XmsfXg99GZzSCJM="; 22 25 }; 23 26 24 - propagatedBuildInputs = [ 25 - pyserial-asyncio 26 - ]; 27 + build-system = [ setuptools ]; 28 + 29 + dependencies = [ pyserial-asyncio-fast ]; 27 30 28 31 nativeCheckInputs = [ 29 32 pytest-asyncio 30 33 pytestCheckHook 31 34 ]; 32 35 33 - pythonImportsCheck = [ 34 - "pyotgw" 35 - ]; 36 + pythonImportsCheck = [ "pyotgw" ]; 36 37 37 38 meta = with lib; { 38 39 description = "Python module to interact the OpenTherm Gateway";