about summary refs log tree commit diff
path: root/pkgs/applications/radio/limesuite
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-06 19:14:13 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-06 19:14:13 +0200
commit097babd4a1be2c2d56220132c45c8b90e282efd5 (patch)
treeaf1a1fb3517229212f729ed0901304a7fef32a26 /pkgs/applications/radio/limesuite
parenta989aa4619162ff37bcbb8c2fb1e502658647fb2 (diff)
soapysdr-with-plugins: add darwin support
Diffstat (limited to 'pkgs/applications/radio/limesuite')
-rw-r--r--pkgs/applications/radio/limesuite/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/applications/radio/limesuite/default.nix b/pkgs/applications/radio/limesuite/default.nix
index 072d2d15b7ef3..f98eb7639c1ac 100644
--- a/pkgs/applications/radio/limesuite/default.nix
+++ b/pkgs/applications/radio/limesuite/default.nix
@@ -1,6 +1,7 @@
 { lib, stdenv, fetchFromGitHub, cmake
-, sqlite, wxGTK30-gtk3, libusb1, soapysdr
+, sqlite, wxGTK32, libusb1, soapysdr
 , mesa_glu, libX11, gnuplot, fltk
+, GLUT
 } :
 
 stdenv.mkDerivation rec {
@@ -23,13 +24,15 @@ stdenv.mkDerivation rec {
   buildInputs = [
     libusb1
     sqlite
-    wxGTK30-gtk3
+    wxGTK32
     fltk
     gnuplot
     libusb1
     soapysdr
     mesa_glu
     libX11
+  ] ++ lib.optionals stdenv.isDarwin [
+    GLUT
   ];
 
   postInstall = ''
@@ -42,7 +45,7 @@ stdenv.mkDerivation rec {
     homepage = "https://github.com/myriadrf/LimeSuite";
     license = licenses.asl20;
     maintainers = with maintainers; [ markuskowa ];
-    platforms = platforms.linux;
+    platforms = platforms.unix;
   };
 }