2021-04-17 00:35:05 +00:00
|
|
|
{ airspy
|
2022-09-22 12:36:57 +00:00
|
|
|
, airspyhf
|
|
|
|
, aptdec
|
2021-04-17 00:35:05 +00:00
|
|
|
, boost
|
|
|
|
, cm256cc
|
|
|
|
, cmake
|
|
|
|
, codec2
|
2022-09-22 12:36:57 +00:00
|
|
|
, dab_lib
|
|
|
|
, dsdcc
|
|
|
|
, faad2
|
2021-04-17 00:35:05 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, fftwFloat
|
|
|
|
, glew
|
|
|
|
, hackrf
|
2022-09-22 12:36:57 +00:00
|
|
|
, hidapi
|
2021-04-17 00:35:05 +00:00
|
|
|
, lib
|
|
|
|
, ffmpeg
|
|
|
|
, libiio
|
|
|
|
, libopus
|
|
|
|
, libpulseaudio
|
|
|
|
, libusb1
|
|
|
|
, limesuite
|
|
|
|
, libbladeRF
|
2022-09-22 12:36:57 +00:00
|
|
|
, mbelib
|
2021-04-17 00:35:05 +00:00
|
|
|
, mkDerivation
|
|
|
|
, ocl-icd
|
|
|
|
, opencv3
|
|
|
|
, pkg-config
|
|
|
|
, qtcharts
|
|
|
|
, qtlocation
|
|
|
|
, qtmultimedia
|
|
|
|
, qtserialport
|
|
|
|
, qtspeech
|
|
|
|
, qtwebsockets
|
2022-09-22 12:36:57 +00:00
|
|
|
, qtwebengine
|
2021-04-17 00:35:05 +00:00
|
|
|
, rtl-sdr
|
|
|
|
, serialdv
|
2022-09-22 12:36:57 +00:00
|
|
|
, sgp4
|
2021-04-17 00:35:05 +00:00
|
|
|
, soapysdr-with-plugins
|
|
|
|
, uhd
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2020-11-21 19:51:51 +00:00
|
|
|
mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "sdrangel";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "7.10.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "f4exb";
|
|
|
|
repo = "sdrangel";
|
|
|
|
rev = "v${version}";
|
2023-03-04 12:14:45 +00:00
|
|
|
sha256 = "sha256-hsYt7zGG6CSWeQ9A3GPt65efjZGPu33O5pIhnZjFgmY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2021-04-17 00:35:05 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2021-04-17 00:35:05 +00:00
|
|
|
airspy
|
2022-09-22 12:36:57 +00:00
|
|
|
airspyhf
|
|
|
|
aptdec
|
2021-04-17 00:35:05 +00:00
|
|
|
boost
|
|
|
|
cm256cc
|
|
|
|
codec2
|
2022-09-22 12:36:57 +00:00
|
|
|
dab_lib
|
|
|
|
dsdcc
|
|
|
|
faad2
|
2021-04-17 00:35:05 +00:00
|
|
|
ffmpeg
|
|
|
|
fftwFloat
|
|
|
|
glew
|
|
|
|
hackrf
|
2022-09-22 12:36:57 +00:00
|
|
|
hidapi
|
2021-04-17 00:35:05 +00:00
|
|
|
libbladeRF
|
|
|
|
libiio
|
|
|
|
libopus
|
|
|
|
libpulseaudio
|
|
|
|
libusb1
|
|
|
|
limesuite
|
2022-09-22 12:36:57 +00:00
|
|
|
mbelib
|
2021-04-17 00:35:05 +00:00
|
|
|
opencv3
|
|
|
|
qtcharts
|
|
|
|
qtlocation
|
|
|
|
qtmultimedia
|
|
|
|
qtserialport
|
|
|
|
qtspeech
|
|
|
|
qtwebsockets
|
2022-09-22 12:36:57 +00:00
|
|
|
qtwebengine
|
2021-04-17 00:35:05 +00:00
|
|
|
rtl-sdr
|
|
|
|
serialdv
|
2022-09-22 12:36:57 +00:00
|
|
|
sgp4
|
2021-04-17 00:35:05 +00:00
|
|
|
soapysdr-with-plugins
|
|
|
|
uhd
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
2021-04-17 00:35:05 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
cmakeFlags = [
|
2022-09-22 12:36:57 +00:00
|
|
|
"-DAPT_DIR=${aptdec}"
|
|
|
|
"-DDAB_LIB=${dab_lib}"
|
2020-04-24 23:36:52 +00:00
|
|
|
"-DLIBSERIALDV_INCLUDE_DIR:PATH=${serialdv}/include/serialdv"
|
|
|
|
"-DLIMESUITE_INCLUDE_DIR:PATH=${limesuite}/include"
|
|
|
|
"-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite.so"
|
2022-09-22 12:36:57 +00:00
|
|
|
"-DSGP4_DIR=${sgp4}"
|
2020-12-25 13:55:36 +00:00
|
|
|
"-DSOAPYSDR_DIR=${soapysdr-with-plugins}"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
LD_LIBRARY_PATH = "${ocl-icd}/lib";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Software defined radio (SDR) software";
|
|
|
|
longDescription = ''
|
2021-04-17 00:35:05 +00:00
|
|
|
SDRangel is an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
homepage = "https://github.com/f4exb/sdrangel";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ alkeryn ];
|
2021-04-17 00:35:05 +00:00
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|