b41113241d
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
116 lines
1.9 KiB
Nix
116 lines
1.9 KiB
Nix
{ airspy
|
|
, airspyhf
|
|
, aptdec
|
|
, boost
|
|
, cm256cc
|
|
, cmake
|
|
, codec2
|
|
, dab_lib
|
|
, dsdcc
|
|
, faad2
|
|
, fetchFromGitHub
|
|
, fftwFloat
|
|
, glew
|
|
, hackrf
|
|
, hidapi
|
|
, lib
|
|
, ffmpeg
|
|
, libiio
|
|
, libopus
|
|
, libpulseaudio
|
|
, libusb1
|
|
, limesuite
|
|
, libbladeRF
|
|
, mbelib
|
|
, mkDerivation
|
|
, ocl-icd
|
|
, opencv3
|
|
, pkg-config
|
|
, qtcharts
|
|
, qtlocation
|
|
, qtmultimedia
|
|
, qtserialport
|
|
, qtspeech
|
|
, qtwebsockets
|
|
, qtwebengine
|
|
, rtl-sdr
|
|
, serialdv
|
|
, sgp4
|
|
, soapysdr-with-plugins
|
|
, uhd
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "sdrangel";
|
|
version = "7.6.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "f4exb";
|
|
repo = "sdrangel";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-4o91vZnW5+wAKw4o3RrsS4gGVG0TyQCBcKg4GuE3n5s=";
|
|
fetchSubmodules = false;
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [
|
|
airspy
|
|
airspyhf
|
|
aptdec
|
|
boost
|
|
cm256cc
|
|
codec2
|
|
dab_lib
|
|
dsdcc
|
|
faad2
|
|
ffmpeg
|
|
fftwFloat
|
|
glew
|
|
hackrf
|
|
hidapi
|
|
libbladeRF
|
|
libiio
|
|
libopus
|
|
libpulseaudio
|
|
libusb1
|
|
limesuite
|
|
mbelib
|
|
opencv3
|
|
qtcharts
|
|
qtlocation
|
|
qtmultimedia
|
|
qtserialport
|
|
qtspeech
|
|
qtwebsockets
|
|
qtwebengine
|
|
rtl-sdr
|
|
serialdv
|
|
sgp4
|
|
soapysdr-with-plugins
|
|
uhd
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DAPT_DIR=${aptdec}"
|
|
"-DDAB_LIB=${dab_lib}"
|
|
"-DLIBSERIALDV_INCLUDE_DIR:PATH=${serialdv}/include/serialdv"
|
|
"-DLIMESUITE_INCLUDE_DIR:PATH=${limesuite}/include"
|
|
"-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite.so"
|
|
"-DSGP4_DIR=${sgp4}"
|
|
"-DSOAPYSDR_DIR=${soapysdr-with-plugins}"
|
|
];
|
|
|
|
LD_LIBRARY_PATH = "${ocl-icd}/lib";
|
|
|
|
meta = with lib; {
|
|
description = "Software defined radio (SDR) software";
|
|
longDescription = ''
|
|
SDRangel is an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
|
'';
|
|
homepage = "https://github.com/f4exb/sdrangel";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ alkeryn ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|