Loading pkgs/development/python-modules/modbus-tk/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { 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 ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -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 { }; Loading Loading
pkgs/development/python-modules/modbus-tk/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { 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 ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -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 { }; Loading