gnu: Add libmodbus.

* gnu/packages/engineering.scm (libmodbus): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Vinicius Monego 2023-08-05 16:19:21 +00:00 committed by Maxim Cournoyer
parent cd3a539455
commit a1a952a38c
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1557,6 +1557,27 @@ (define-public sterm
(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")