summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-12-03 10:21:12 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-04-23 19:00:54 +0200
commit0fa6c6fdd3f4df52fcce27e139da65cd06bccc15 (patch)
tree9c46b9ee5c3504c367237b4b524b9a379335d577 /gnu
parent44905f2795a83a4e4f7d80700497c09f2e9fef3a (diff)
downloadguix-0fa6c6fdd3f4df52fcce27e139da65cd06bccc15.tar.gz
gnu: Add liblxi.
* gnu/packages/hardware.scm (liblxi): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/hardware.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 299d7b96a1..fdb7be3185 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -44,6 +44,7 @@
   #:use-module (gnu packages cdrom)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages cpp)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages cups)
@@ -69,6 +70,7 @@
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages networking)
   #:use-module (gnu packages openldap)
+  #:use-module (gnu packages onc-rpc)
   #:use-module (gnu packages pciutils)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
@@ -1359,3 +1361,30 @@ and libtss2-tcti-mssim.")
 string, code name and other information from x86 CPU. This library is not to be
 confused with the @code{cpuid} command line utility from package @code{cpuid}.")
       (license license:bsd-2))))
+
+(define-public liblxi
+  (package
+    (name "liblxi")
+    (version "1.18")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/lxi-tools/liblxi")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0cbnnd5qmchlr586349j5y4qv5w3bw9nmpbd3k6sq9vwvqh5dmns"))))
+    (build-system meson-build-system)
+    (native-inputs
+     (list cmake pkg-config))
+    (inputs
+     (list avahi libtirpc libxml2))
+    (home-page "https://lxi-tools.github.io/")
+    (synopsis "LAN eXtensions for Instrumentation library")
+    (description
+     "This package provides library for LAN eXtensions for Instrumentation
+based on the LXI Consortium standard which defines the communication protocols
+for modern instrumentation and data acquision systems using Ethernet.")
+    (license license:bsd-3)))