1{ stdenv, fetchurl, pkgconfig, libusb1 }:
2
3# TODO: add VXI development files, for VXI-11 (TCPIP) support
4
5stdenv.mkDerivation rec {
6 name = "librevisa-0.0.20130412";
7
8 src = fetchurl {
9 url = "http://www.librevisa.org/download/${name}.tar.gz";
10 sha256 = "0bjzq23s3xzw0l9qx4l8achrx5id8xdd6r52lvdl4a28dxzbcfhq";
11 };
12
13 nativeBuildInputs = [ pkgconfig ];
14 buildInputs = [ libusb1 ];
15
16 meta = with stdenv.lib; {
17 description = "Implementation of the VISA standard (for instrument control)";
18 longDescription = ''
19 LibreVISA aims to be a compliant implementation of the VISA standard in a
20 free software library.
21
22 We currently support targets connected via USB, exposing the USBTMC
23 interface, and VXI-11 devices.
24 '';
25 homepage = http://www.librevisa.org/;
26 license = licenses.gpl3Plus;
27 platforms = platforms.linux;
28 maintainers = [ maintainers.bjornfor ];
29 };
30}