diff options
author | Vinicius Monego <monego@posteo.net> | 2023-08-05 16:19:21 +0000 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-09-05 19:50:44 -0400 |
commit | a1a952a38c79fc1118db14b80daf4521e35d7ba6 (patch) | |
tree | 24560515a47f204faeb28a1b3a212ecfc99e0619 /gnu/packages/engineering.scm | |
parent | cd3a53945584080ae3ab3f5c6dd0365942eebecd (diff) | |
download | guix-a1a952a38c79fc1118db14b80daf4521e35d7ba6.tar.gz guix-a1a952a38c79fc1118db14b80daf4521e35d7ba6.zip |
gnu: Add libmodbus.
* gnu/packages/engineering.scm (libmodbus): New variable.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r-- | gnu/packages/engineering.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 110c930ced..ab9a15c752 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1557,6 +1557,27 @@ send break and throttle transmission speed.") (home-page "https://github.com/wentasah/sterm") (license license:gpl3+))) +(define-public libmodbus + (package + (name "libmodbus") + (version "3.1.10") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/stephane/libmodbus") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0nbpk1n56kclab8fl32dxi46v2bwax3gfk1zkc796srm7vj42sbv")))) + (build-system gnu-build-system) + (native-inputs (list autoconf automake libtool)) + (synopsis "Library for the Modbus protocol") + (description "@code{libmodbus} is a library to send/receive data with a +device which respects the Modbus protocol. This library can use a serial port +or an Ethernet connection.") + (home-page "https://libmodbus.org/") + (license license:lgpl2.1+))) (define-public harminv (package (name "harminv") |