2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libusb1 }:
|
2014-05-18 21:55:32 +01:00
|
|
|
|
|
|
|
# TODO: add VXI development files, for VXI-11 (TCPIP) support
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "librevisa-0.0.20130412";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.librevisa.org/download/${name}.tar.gz";
|
|
|
|
sha256 = "0bjzq23s3xzw0l9qx4l8achrx5id8xdd6r52lvdl4a28dxzbcfhq";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ libusb1 ];
|
2014-05-18 21:55:32 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2014-05-18 21:55:32 +01:00
|
|
|
description = "Implementation of the VISA standard (for instrument control)";
|
|
|
|
longDescription = ''
|
|
|
|
LibreVISA aims to be a compliant implementation of the VISA standard in a
|
|
|
|
free software library.
|
|
|
|
|
|
|
|
We currently support targets connected via USB, exposing the USBTMC
|
|
|
|
interface, and VXI-11 devices.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.librevisa.org/";
|
2014-05-18 21:55:32 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2019-06-06 00:05:21 +01:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2014-05-18 21:55:32 +01:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|