10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
18 owner = "AdvancedClimateSystems";
20 rev = "refs/tags/${version}";
21 hash = "sha256-5IXadb5mjrMwr+L9S1iMN5kba5VGrzYt1p8nBvvLCh4=";
24 propagatedBuildInputs = [ pyserial ];
26 __darwinAllowLocalNetworking = true;
28 nativeCheckInputs = [ pytestCheckHook ];
30 pythonImportsCheck = [ "umodbus" ];
33 description = "Implementation of the Modbus protocol";
34 homepage = "https://github.com/AdvancedClimateSystems/uModbus/";
35 license = with licenses; [ mpl20 ];
36 maintainers = with maintainers; [ fab ];