Martin Weinelt 2023-02-01 23:19:44 +01:00
parent 53e22a71db
commit f2898ed00a
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -10,6 +10,8 @@
, pyserial
, pyserial-asyncio
, pytest-asyncio
, pytest-rerunfailures
, pytest-xdist
, pytestCheckHook
, redis
, sqlalchemy
@ -19,13 +21,14 @@
buildPythonPackage rec {
pname = "pymodbus";
version = "3.0.2";
version = "3.1.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "riptideio";
owner = "pymodbus-dev";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-7zuFKJuKc+J4g7qoK22xed8dmXJatQbQXz4aKAOcvN8=";
hash = "sha256-kae/TADu23NnCrXkJ/dkDBNIgBm/+BxXf+lh8uMxz/s=";
};
# Twisted asynchronous version is not supported due to a missing dependency
@ -43,12 +46,18 @@ buildPythonPackage rec {
asynctest
mock
pytest-asyncio
pytest-rerunfailures
pytest-xdist
pytestCheckHook
redis
sqlalchemy
twisted
];
pytestFlagsArray = [
"--reruns" "3" # Racy socket tests
];
pythonImportsCheck = [ "pymodbus" ];
meta = with lib; {
@ -59,7 +68,8 @@ buildPythonPackage rec {
also be used without any third party dependencies if a more
lightweight project is needed.
'';
homepage = "https://github.com/riptideio/pymodbus";
homepage = "https://github.com/pymodbus-dev/pymodbus";
changelog = "https://github.com/pymodbus-dev/pymodbus/releases/tag/v${version}";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};