pulseview: fix build error

This commit is contained in:
sophrosyne97 2021-05-15 18:04:01 -04:00 committed by Bjørn Forsman
parent fd79304769
commit 2558acf870

View file

@ -1,4 +1,4 @@
{ mkDerivation, lib, fetchurl, pkg-config, cmake, glib, boost, libsigrok
{ mkDerivation, lib, fetchurl, fetchpatch, pkg-config, cmake, glib, boost, libsigrok
, libsigrokdecode, libserialport, libzip, udev, libusb1, libftdi1, glibmm
, pcre, librevisa, python3, qtbase, qtsvg
}:
@ -20,6 +20,15 @@ mkDerivation rec {
qtbase qtsvg
];
patches = [
# Allow building with glib 2.68
# PR at https://github.com/sigrokproject/pulseview/pull/39
(fetchpatch {
url = "https://github.com/sigrokproject/pulseview/commit/fb89dd11f2a4a08b73c498869789e38677181a8d.patch";
sha256 = "153lrvbj0qf8qxx3l01v3ln8g5qjmlapwp8h1k1iir3xx3lyy37k";
})
];
meta = with lib; {
description = "Qt-based LA/scope/MSO GUI for sigrok (a signal analysis software suite)";
homepage = "https://sigrok.org/";