depot/third_party/nixpkgs/pkgs/development/libraries/librevisa/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
936 B
Nix

{ stdenv, fetchurl, pkgconfig, libusb1 }:
# 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";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb1 ];
meta = with stdenv.lib; {
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 ];
};
}