2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libusb1 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# TODO: add VXI development files, for VXI-11 (TCPIP) support
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "librevisa";
|
|
|
|
version = "0.0.20130412";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "http://www.librevisa.org/download/${pname}-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0bjzq23s3xzw0l9qx4l8achrx5id8xdd6r52lvdl4a28dxzbcfhq";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libusb1 ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00: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.
|
|
|
|
'';
|
|
|
|
homepage = "http://www.librevisa.org/";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|