about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorDaniel Nilsson <vq@erq.se>2020-12-18 21:58:28 +0100
committerDaniel Nilsson <vq@erq.se>2021-01-17 12:27:19 +0100
commit5c56cfd61b1f39f6989ac3cf163f3a5dda74ed5a (patch)
tree72276106fea8aa39c98991e2355388316d34922a /pkgs/development/libraries
parent03a317d9625a7b87ddbe639d74a45f99f8105b7e (diff)
downloadnixlib-5c56cfd61b1f39f6989ac3cf163f3a5dda74ed5a.tar
nixlib-5c56cfd61b1f39f6989ac3cf163f3a5dda74ed5a.tar.gz
nixlib-5c56cfd61b1f39f6989ac3cf163f3a5dda74ed5a.tar.bz2
nixlib-5c56cfd61b1f39f6989ac3cf163f3a5dda74ed5a.tar.lz
nixlib-5c56cfd61b1f39f6989ac3cf163f3a5dda74ed5a.tar.xz
nixlib-5c56cfd61b1f39f6989ac3cf163f3a5dda74ed5a.tar.zst
nixlib-5c56cfd61b1f39f6989ac3cf163f3a5dda74ed5a.zip
liblxi: init at 1.13
Apply suggestions from code review

Co-authored-by: Ivar <41924494+IvarWithoutBones@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/liblxi/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/libraries/liblxi/default.nix b/pkgs/development/libraries/liblxi/default.nix
new file mode 100644
index 000000000000..ebb8cbe0376c
--- /dev/null
+++ b/pkgs/development/libraries/liblxi/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchFromGitHub
+, pkg-config, autoreconfHook
+, libtirpc, rpcsvc-proto, avahi, libxml2
+}:
+
+stdenv.mkDerivation rec {
+  pname = "liblxi";
+  version = "1.13";
+
+  src = fetchFromGitHub {
+    owner = "lxi-tools";
+    repo = "liblxi";
+    rev = "v${version}";
+    sha256 = "129m0k2wrlgs25qkskynljddqspasla1x8iq51vmg38nhnilpqf6";
+  };
+
+  nativeBuildInputs = [ autoreconfHook pkg-config rpcsvc-proto ];
+
+  buildInputs = [ libtirpc avahi libxml2 ];
+
+  meta = with stdenv.lib; {
+    description = "Library for communicating with LXI compatible instruments";
+    longDescription = ''
+      liblxi is an open source software library which offers a simple
+      API for communicating with LXI compatible instruments.
+      The API allows applications to easily discover instruments
+      on networks and communicate SCPI commands.
+    '';
+    homepage = "https://lxi-tools.github.io/";
+    license = licenses.bsd3;
+    platforms = platforms.linux;
+    maintainers = [ maintainers.vq ];
+  };
+}