3
0
Fork 0
forked from mirrors/nixpkgs

librevisa: new package

It's an implementation of the VISA standard (for instrument control).

http://www.librevisa.org/
This commit is contained in:
Bjørn Forsman 2014-05-18 22:55:32 +02:00
parent b6910c6bf8
commit c10628c665
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ 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";
};
buildInputs = [ pkgconfig 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;
maintainers = [ maintainers.bjornfor ];
};
}

View file

@ -5148,6 +5148,8 @@ let
libresample = callPackage ../development/libraries/libresample {};
librevisa = callPackage ../development/libraries/librevisa { };
libsamplerate = callPackage ../development/libraries/libsamplerate {
stdenv = if stdenv.isDarwin
then overrideGCC stdenv gccApple