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

31 lines
915 B
Nix
Raw Normal View History

{ mkDerivation, lib, fetchurl, pkg-config, 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
}:
2019-08-19 06:52:05 +01:00
mkDerivation rec {
pname = "pulseview";
version = "0.4.1";
src = fetchurl {
2019-08-19 06:52:05 +01:00
url = "https://sigrok.org/download/source/pulseview/${pname}-${version}.tar.gz";
sha256 = "0bvgmkgz37n2bi9niskpl05hf7rsj1lj972fbrgnlz25s4ywxrwy";
};
nativeBuildInputs = [ cmake pkg-config ];
2017-11-16 00:39:17 +00:00
buildInputs = [
glib boost libsigrok libsigrokdecode libserialport libzip udev libusb1 libftdi1 glibmm
2019-08-19 06:52:05 +01:00
pcre librevisa python3
qtbase qtsvg
];
2019-08-19 06:52:05 +01:00
meta = with lib; {
description = "Qt-based LA/scope/MSO GUI for sigrok (a signal analysis software suite)";
homepage = "https://sigrok.org/";
license = licenses.gpl3Plus;
2019-08-19 06:52:05 +01:00
maintainers = with maintainers; [ bjornfor ];
platforms = platforms.linux;
};
}