2017-11-16 00:39:17 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, cmake, glib, boost, libsigrok
|
2017-08-30 18:50:51 +01:00
|
|
|
, libsigrokdecode, libserialport, libzip, udev, libusb1, libftdi1, glibmm
|
2017-11-16 00:39:17 +00:00
|
|
|
, pcre, librevisa, python3, qtbase, qtsvg
|
2014-05-31 14:37:27 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-08-30 18:50:51 +01:00
|
|
|
name = "pulseview-0.4.0";
|
2014-05-31 14:37:27 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-25 06:04:25 +01:00
|
|
|
url = "https://sigrok.org/download/source/pulseview/${name}.tar.gz";
|
2017-08-30 18:50:51 +01:00
|
|
|
sha256 = "1f8f2342d5yam98mmcb8f9g2vslcwv486bmi4x45pxn68l82ky3q";
|
2014-05-31 14:37:27 +01:00
|
|
|
};
|
|
|
|
|
2017-11-16 00:39:17 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib boost libsigrok libsigrokdecode libserialport libzip udev libusb1 libftdi1 glibmm
|
|
|
|
pcre librevisa python3 qtbase qtsvg
|
2014-05-31 14:37:27 +01:00
|
|
|
];
|
|
|
|
|
2017-11-16 00:39:17 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-05-31 14:37:27 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Qt-based LA/scope/MSO GUI for sigrok (a signal analysis software suite)";
|
2018-03-25 06:04:25 +01:00
|
|
|
homepage = https://sigrok.org/;
|
2014-05-31 14:37:27 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|