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