Merge pull request #332714 from fabaff/modbus-tk
python312Packages.modbus-tk: init at 1.1.1
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pythonOlder,
|
||||
pyserial,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "modbus-tk";
|
||||
version = "1.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ljean";
|
||||
repo = "modbus-tk";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-zikfVMFdlOJvuKVQGEsK03i58X6BGFsGWGrGOJZGC0g=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ pyserial ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "modbus_tk" ];
|
||||
|
||||
pytestFlagsArray = [ "tests/unittest_*.py" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for simple Modbus interactions";
|
||||
homepage = "https://github.com/ljean/modbus-tk";
|
||||
license = licenses.lgpl21Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -7885,6 +7885,8 @@ self: super: with self; {
|
||||
|
||||
mockupdb = callPackage ../development/python-modules/mockupdb { };
|
||||
|
||||
modbus-tk = callPackage ../development/python-modules/modbus-tk { };
|
||||
|
||||
moddb = callPackage ../development/python-modules/moddb { };
|
||||
|
||||
model-bakery = callPackage ../development/python-modules/model-bakery { };
|
||||
|
||||
Reference in New Issue
Block a user