lol

python310Packages.umodbus: init at 1.0.4

+44
+42
pkgs/development/python-modules/umodbus/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pyserial 5 + , pytestCheckHook 6 + , pythonOlder 7 + , setuptools 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "umodbus"; 12 + version = "1.0.4"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "AdvancedClimateSystems"; 19 + repo = "uModbus"; 20 + rev = "refs/tags/${version}"; 21 + hash = "sha256-5IXadb5mjrMwr+L9S1iMN5kba5VGrzYt1p8nBvvLCh4="; 22 + }; 23 + 24 + propagatedBuildInputs = [ 25 + pyserial 26 + ]; 27 + 28 + checkInputs = [ 29 + pytestCheckHook 30 + ]; 31 + 32 + pythonImportsCheck = [ 33 + "umodbus" 34 + ]; 35 + 36 + meta = with lib; { 37 + description = "Implementation of the Modbus protocol"; 38 + homepage = "https://github.com/AdvancedClimateSystems/uModbus/"; 39 + license = with licenses; [ mpl20 ]; 40 + maintainers = with maintainers; [ fab ]; 41 + }; 42 + }
+2
pkgs/top-level/python-packages.nix
··· 11470 11470 11471 11471 umap-learn = callPackage ../development/python-modules/umap-learn { }; 11472 11472 11473 + umodbus = callPackage ../development/python-modules/umodbus { }; 11474 + 11473 11475 u-msgpack-python = callPackage ../development/python-modules/u-msgpack-python { }; 11474 11476 11475 11477 unasync = callPackage ../development/python-modules/unasync { };