sdrangel: fix darwin build

Tested and changed the platform metadata for the dependent libs.

+13 -12
+5 -4
pkgs/applications/radio/sdrangel/default.nix
··· 1 - { airspy 1 + { lib 2 + , stdenv 3 + , airspy 2 4 , airspyhf 3 5 , aptdec 4 6 , boost ··· 13 15 , glew 14 16 , hackrf 15 17 , hidapi 16 - , lib 17 18 , ffmpeg 18 19 , libiio 19 20 , libopus ··· 95 96 "-DDAB_LIB=${dab_lib}" 96 97 "-DLIBSERIALDV_INCLUDE_DIR:PATH=${serialdv}/include/serialdv" 97 98 "-DLIMESUITE_INCLUDE_DIR:PATH=${limesuite}/include" 98 - "-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite.so" 99 + "-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite${stdenv.hostPlatform.extensions.sharedLibrary}" 99 100 "-DSGP4_DIR=${sgp4}" 100 101 "-DSOAPYSDR_DIR=${soapysdr-with-plugins}" 101 102 ]; ··· 110 111 homepage = "https://github.com/f4exb/sdrangel"; 111 112 license = licenses.gpl3Plus; 112 113 maintainers = with maintainers; [ alkeryn ]; 113 - platforms = platforms.linux; 114 + platforms = platforms.unix; 114 115 }; 115 116 }
+1 -1
pkgs/development/libraries/aptdec/default.nix
··· 26 26 homepage = "https://github.com/Xerbo/aptdec"; 27 27 license = licenses.gpl2; 28 28 maintainers = with maintainers; [ alexwinter ]; 29 - platforms = platforms.linux; 29 + platforms = platforms.unix; 30 30 }; 31 31 }
+1 -1
pkgs/development/libraries/cm256cc/default.nix
··· 23 23 meta = with lib; { 24 24 description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++"; 25 25 homepage = "https://github.com/f4exb/cm256cc"; 26 - platforms = platforms.linux; 26 + platforms = platforms.unix; 27 27 maintainers = with maintainers; [ alkeryn ]; 28 28 license = licenses.gpl3; 29 29 };
+1 -1
pkgs/development/libraries/dab_lib/default.nix
··· 23 23 homepage = "https://github.com/JvanKatwijk/dab-cmdline"; 24 24 license = licenses.gpl2; 25 25 maintainers = with maintainers; [ alexwinter ]; 26 - platforms = platforms.linux; 26 + platforms = platforms.unix; 27 27 }; 28 28 }
+1 -1
pkgs/development/libraries/dsdcc/default.nix
··· 30 30 homepage = "https://github.com/f4exb/dsdcc"; 31 31 license = licenses.gpl3; 32 32 maintainers = with maintainers; [ alexwinter ]; 33 - platforms = platforms.linux; 33 + platforms = platforms.unix; 34 34 }; 35 35 }
+2 -2
pkgs/development/libraries/qt-5/modules/qtspeech.nix
··· 1 - { qtModule, speechd, pkg-config }: 1 + { lib, qtModule, stdenv, speechd, pkg-config }: 2 2 3 3 qtModule { 4 4 pname = "qtspeech"; 5 5 qtInputs = [ ]; 6 - buildInputs = [ speechd ]; 6 + buildInputs = lib.optionals stdenv.isLinux [ speechd ]; 7 7 nativeBuildInputs = [ pkg-config ]; 8 8 outputs = [ "out" "dev" ]; 9 9 }
+1 -1
pkgs/development/libraries/serialdv/default.nix
··· 16 16 meta = with lib; { 17 17 description = "C++ Minimal interface to encode and decode audio with AMBE3000 based devices in packet mode over a serial link"; 18 18 homepage = "https://github.com/f4exb/serialdv"; 19 - platforms = platforms.linux; 19 + platforms = platforms.unix; 20 20 maintainers = with maintainers; [ alkeryn ]; 21 21 license = licenses.gpl3; 22 22 };
+1 -1
pkgs/development/libraries/sgp4/default.nix
··· 18 18 homepage = "https://github.com/dnwrnr/sgp4"; 19 19 license = licenses.asl20; 20 20 maintainers = with maintainers; [ alexwinter ]; 21 - platforms = platforms.linux; 21 + platforms = platforms.unix; 22 22 }; 23 23 }