forked from mirrors/nixpkgs
Merge pull request #107227 from vq/add/lxi-tools
lxi-tools: init at 1.21
This commit is contained in:
commit
9ecaa3ce76
|
@ -9666,6 +9666,10 @@
|
|||
email = "oliver.huntuk@gmail.com";
|
||||
name = "Oliver Hunt";
|
||||
};
|
||||
vq = {
|
||||
email = "vq@erq.se";
|
||||
name = "Daniel Nilsson";
|
||||
};
|
||||
vrthra = {
|
||||
email = "rahul@gopinath.org";
|
||||
github = "vrthra";
|
||||
|
|
34
pkgs/development/libraries/liblxi/default.nix
Normal file
34
pkgs/development/libraries/liblxi/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
34
pkgs/tools/networking/lxi-tools/default.nix
Normal file
34
pkgs/tools/networking/lxi-tools/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ stdenv, fetchFromGitHub
|
||||
, autoreconfHook, pkg-config
|
||||
, liblxi, readline, lua
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lxi-tools";
|
||||
version = "1.21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lxi-tools";
|
||||
repo = "lxi-tools";
|
||||
rev = "v${version}";
|
||||
sha256 = "0rkp6ywsw2zv7hpbr12kba79wkcwqin7xagxxhd968rbfkfdxlwc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
buildInputs = [ liblxi readline lua ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tool for communicating with LXI compatible instruments";
|
||||
longDescription = ''
|
||||
lxi-tools is a collection of open source software tools
|
||||
that enables control of LXI compatible instruments such
|
||||
as modern oscilloscopes, power supplies,
|
||||
spectrum analyzers etc.
|
||||
'';
|
||||
homepage = "https://lxi-tools.github.io/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.vq ];
|
||||
};
|
||||
}
|
|
@ -14804,6 +14804,8 @@ in
|
|||
|
||||
libltc = callPackage ../development/libraries/libltc { };
|
||||
|
||||
liblxi = callPackage ../development/libraries/liblxi { };
|
||||
|
||||
libmaxminddb = callPackage ../development/libraries/libmaxminddb { };
|
||||
|
||||
libmcrypt = callPackage ../development/libraries/libmcrypt {};
|
||||
|
@ -23323,6 +23325,8 @@ in
|
|||
|
||||
lv2-cpp-tools = callPackage ../applications/audio/lv2-cpp-tools { };
|
||||
|
||||
lxi-tools = callPackage ../tools/networking/lxi-tools { };
|
||||
|
||||
lynx = callPackage ../applications/networking/browsers/lynx { };
|
||||
|
||||
lyrebird = callPackage ../applications/audio/lyrebird { };
|
||||
|
|
Loading…
Reference in a new issue