nixpkgs/pkgs/applications/science/electronics/pulseview/default.nix

26 lines
805 B
Nix
Raw Normal View History

2017-08-30 18:50:51 +01:00
{ stdenv, fetchurl, pkgconfig, cmake, glib, qt5, boost, libsigrok
, libsigrokdecode, libserialport, libzip, udev, libusb1, libftdi1, glibmm
}:
stdenv.mkDerivation rec {
2017-08-30 18:50:51 +01:00
name = "pulseview-0.4.0";
src = fetchurl {
url = "http://sigrok.org/download/source/pulseview/${name}.tar.gz";
2017-08-30 18:50:51 +01:00
sha256 = "1f8f2342d5yam98mmcb8f9g2vslcwv486bmi4x45pxn68l82ky3q";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake glib qt5.full boost libsigrok
2017-08-30 18:50:51 +01:00
libsigrokdecode libserialport libzip udev libusb1 libftdi1 glibmm
];
meta = with stdenv.lib; {
description = "Qt-based LA/scope/MSO GUI for sigrok (a signal analysis software suite)";
homepage = http://sigrok.org/;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}