From 6748f9d67df2f1867aa0921214ecbe0bbb33cf6d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 9 Apr 2024 18:53:40 +0200 Subject: [PATCH] python312Packages.pymodbus: refactor --- pkgs/development/python-modules/pymodbus/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pymodbus/default.nix b/pkgs/development/python-modules/pymodbus/default.nix index 11fc12454cf3..9615efa81751 100644 --- a/pkgs/development/python-modules/pymodbus/default.nix +++ b/pkgs/development/python-modules/pymodbus/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { version = "3.6.7"; pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "pymodbus-dev"; @@ -36,7 +36,7 @@ buildPythonPackage rec { --replace-fail "--cov-report html " "" ''; - nativeBuildInputs = [ + build-system = [ setuptools ]; @@ -85,7 +85,6 @@ buildPythonPackage rec { meta = with lib; { description = "Python implementation of the Modbus protocol"; - mainProgram = "pymodbus.simulator"; longDescription = '' Pymodbus is a full Modbus protocol implementation using twisted, torndo or asyncio for its asynchronous communications core. It can @@ -96,5 +95,6 @@ buildPythonPackage rec { changelog = "https://github.com/pymodbus-dev/pymodbus/releases/tag/v${version}"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ fab ]; + mainProgram = "pymodbus.simulator"; }; }