GNU bug report logs - #65100
[PATCH] gnu: Add libmodbus.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Sat, 5 Aug 2023 16:20:03 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH] gnu: Add libmodbus.
Date: Sat,  5 Aug 2023 16:19:21 +0000
* gnu/packages/engineering.scm (libmodbus): New variable.
---
 gnu/packages/engineering.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index b5b4ad1b10..87e0b0e396 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1518,6 +1518,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")
-- 
2.34.1





This bug report was last modified 1 year and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.