20 buildPythonPackage rec {
25 disabled = pythonOlder "3.8";
27 src = fetchFromGitHub {
28 owner = "pymodbus-dev";
30 rev = "refs/tags/v${version}";
31 hash = "sha256-IgGDYNIRS39t8vHkJSGnDGCTKxpeIYZyedLzyS5pOI0=";
38 passthru.optional-dependencies = {
45 ] ++ typer.optional-dependencies.all;
58 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
68 pythonImportsCheck = [
78 description = "Python implementation of the Modbus protocol";
80 Pymodbus is a full Modbus protocol implementation using twisted,
81 torndo or asyncio for its asynchronous communications core. It can
82 also be used without any third party dependencies if a more
83 lightweight project is needed.
85 homepage = "https://github.com/pymodbus-dev/pymodbus";
86 changelog = "https://github.com/pymodbus-dev/pymodbus/releases/tag/v${version}";
87 license = with licenses; [ bsd3 ];
88 maintainers = with maintainers; [ fab ];