mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #220746 from Tungsten842/sdrangel
This commit is contained in:
commit
42abb58ab3
@ -24,14 +24,20 @@
|
||||
, libbladeRF
|
||||
, mbelib
|
||||
, mkDerivation
|
||||
, ninja
|
||||
, ocl-icd
|
||||
, opencv3
|
||||
, pkg-config
|
||||
, qtcharts
|
||||
, qtdeclarative
|
||||
, qtgraphicaleffects
|
||||
, qtlocation
|
||||
, qtmultimedia
|
||||
, qtquickcontrols
|
||||
, qtquickcontrols2
|
||||
, qtserialport
|
||||
, qtspeech
|
||||
, qttools
|
||||
, qtwebsockets
|
||||
, qtwebengine
|
||||
, rtl-sdr
|
||||
@ -39,6 +45,7 @@
|
||||
, sgp4
|
||||
, soapysdr-with-plugins
|
||||
, uhd
|
||||
, zlib
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
@ -49,10 +56,10 @@ mkDerivation rec {
|
||||
owner = "f4exb";
|
||||
repo = "sdrangel";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hsYt7zGG6CSWeQ9A3GPt65efjZGPu33O5pIhnZjFgmY=";
|
||||
hash = "sha256-hsYt7zGG6CSWeQ9A3GPt65efjZGPu33O5pIhnZjFgmY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
nativeBuildInputs = [ cmake ninja pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
airspy
|
||||
@ -78,10 +85,15 @@ mkDerivation rec {
|
||||
mbelib
|
||||
opencv3
|
||||
qtcharts
|
||||
qtdeclarative
|
||||
qtgraphicaleffects
|
||||
qtlocation
|
||||
qtmultimedia
|
||||
qtquickcontrols
|
||||
qtquickcontrols2
|
||||
qtserialport
|
||||
qtspeech
|
||||
qttools
|
||||
qtwebsockets
|
||||
qtwebengine
|
||||
rtl-sdr
|
||||
@ -89,11 +101,12 @@ mkDerivation rec {
|
||||
sgp4
|
||||
soapysdr-with-plugins
|
||||
uhd
|
||||
zlib
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DAPT_DIR=${aptdec}"
|
||||
"-DDAB_LIB=${dab_lib}"
|
||||
"-DDAB_INCLUDE_DIR:PATH=${dab_lib}/include/dab_lib"
|
||||
"-DLIBSERIALDV_INCLUDE_DIR:PATH=${serialdv}/include/serialdv"
|
||||
"-DLIMESUITE_INCLUDE_DIR:PATH=${limesuite}/include"
|
||||
"-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||
|
Loading…
Reference in New Issue
Block a user