Merge pull request #303692 from Tungsten842/limesuite

limesuite: disable gui by default and add limesuiteWithGui
This commit is contained in:
Markus Kowalewski 2024-04-13 10:41:46 +00:00 committed by GitHub
commit c62e6165da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 4 deletions

View File

@ -2,7 +2,7 @@
, sqlite, wxGTK32, libusb1, soapysdr
, mesa_glu, libX11, gnuplot, fltk
, GLUT
, withGui ? !stdenv.isDarwin # withGui transitively depends on mesa, which is broken on darwin
, withGui ? false
}:
stdenv.mkDerivation rec {
@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
license = licenses.asl20;
maintainers = with maintainers; [ markuskowa ];
platforms = platforms.unix;
badPlatforms = lib.optionals withGui platforms.darwin; # withGui transitively depends on mesa, which is broken on darwin
};
}

View File

@ -10486,9 +10486,16 @@ with pkgs;
lidarr = callPackage ../servers/lidarr { };
limesuite = callPackage ../applications/radio/limesuite {
inherit (darwin.apple_sdk.frameworks) GLUT;
};
inherit ({
limesuite = callPackage ../applications/radio/limesuite {
inherit (darwin.apple_sdk.frameworks) GLUT;
};
limesuiteWithGui = limesuite.override {
withGui = true;
};
})
limesuite
limesuiteWithGui;
limesurvey = callPackage ../servers/limesurvey { };