summary refs log tree commit diff
path: root/pkgs/tools/networking/lxi-tools/default.nix
blob: 3f3e62fb8075d3c156fb25e36a0a7062d7d2224d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 ];
  };
}