Merge pull request #307942 from fabaff/pyotgw-bump

python312Packages.pyotgw: 2.1.3 -> 2.2.0
This commit is contained in:
Nick Cao 2024-04-30 09:14:07 -04:00 committed by GitHub
commit 590ecfa45c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,38 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyserial-asyncio
, pytest-asyncio
, pytestCheckHook
, pythonOlder
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyserial-asyncio,
pyserial-asyncio-fast,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pyotgw";
version = "2.1.3";
format = "setuptools";
version = "2.2.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "mvn23";
repo = pname;
repo = "pyotgw";
rev = "refs/tags/${version}";
hash = "sha256-XIwBGjvIulKLmYZIorKIJwoHTNOIYYX8US2Na8MZ2LA=";
hash = "sha256-SowM+glni1PGkM87JT9+QWTD4Tu9XmsfXg99GZzSCJM=";
};
propagatedBuildInputs = [
pyserial-asyncio
];
build-system = [ setuptools ];
dependencies = [ pyserial-asyncio-fast ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"pyotgw"
];
pythonImportsCheck = [ "pyotgw" ];
meta = with lib; {
description = "Python module to interact the OpenTherm Gateway";