pulseview: enable on darwin
This commit is contained in:
parent
5b9065da7e
commit
11b65fea77
1 changed files with 6 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, cmake, glib, boost, libsigrok
|
||||
, libsigrokdecode, libserialport, libzip, udev, libusb1, libftdi1, glibmm
|
||||
, pcre, python3, qtsvg, qttools, wrapQtAppsHook
|
||||
, pcre, python3, qtsvg, qttools, wrapQtAppsHook, desktopToDarwinBundle
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -12,13 +12,14 @@ stdenv.mkDerivation rec {
|
|||
hash = "sha256-8EL3ej4bNb8wZmMw427Dj6uNJIw2k8N7fjXUAcO/q8s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config qttools wrapQtAppsHook ];
|
||||
nativeBuildInputs = [ cmake pkg-config qttools wrapQtAppsHook ]
|
||||
++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
|
||||
|
||||
buildInputs = [
|
||||
glib boost libsigrok libsigrokdecode libserialport libzip udev libusb1 libftdi1 glibmm
|
||||
glib boost libsigrok libsigrokdecode libserialport libzip libusb1 libftdi1 glibmm
|
||||
pcre python3
|
||||
qtsvg
|
||||
];
|
||||
] ++ lib.optional stdenv.isLinux udev;
|
||||
|
||||
patches = [
|
||||
# Allow building with glib 2.68
|
||||
|
@ -39,6 +40,6 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://sigrok.org/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue