2023-03-12 20:21:49 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, airspy
|
2022-09-11 05:58:51 +00:00
|
|
|
, airspyhf
|
|
|
|
, aptdec
|
2021-04-09 07:52:40 +00:00
|
|
|
, boost
|
|
|
|
, cm256cc
|
|
|
|
, cmake
|
|
|
|
, codec2
|
2022-09-11 05:58:51 +00:00
|
|
|
, dab_lib
|
|
|
|
, dsdcc
|
|
|
|
, faad2
|
2021-04-09 07:52:40 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, fftwFloat
|
|
|
|
, glew
|
|
|
|
, hackrf
|
2022-09-11 05:58:51 +00:00
|
|
|
, hidapi
|
2021-04-09 07:52:40 +00:00
|
|
|
, ffmpeg
|
|
|
|
, libiio
|
|
|
|
, libopus
|
|
|
|
, libpulseaudio
|
|
|
|
, libusb1
|
|
|
|
, limesuite
|
|
|
|
, libbladeRF
|
2022-09-11 05:58:51 +00:00
|
|
|
, mbelib
|
2023-03-16 19:52:40 +00:00
|
|
|
, ninja
|
2021-04-09 07:52:40 +00:00
|
|
|
, opencv3
|
|
|
|
, pkg-config
|
|
|
|
, qtcharts
|
2023-03-16 19:52:40 +00:00
|
|
|
, qtdeclarative
|
2023-05-26 09:19:45 +00:00
|
|
|
, qtgamepad
|
2023-03-16 19:52:40 +00:00
|
|
|
, qtgraphicaleffects
|
2021-04-09 07:52:40 +00:00
|
|
|
, qtlocation
|
|
|
|
, qtmultimedia
|
2023-03-16 19:52:40 +00:00
|
|
|
, qtquickcontrols
|
|
|
|
, qtquickcontrols2
|
2021-04-09 07:52:40 +00:00
|
|
|
, qtserialport
|
|
|
|
, qtspeech
|
2023-03-16 19:52:40 +00:00
|
|
|
, qttools
|
2021-04-09 07:52:40 +00:00
|
|
|
, qtwebsockets
|
2022-09-11 05:58:51 +00:00
|
|
|
, qtwebengine
|
2021-04-09 07:52:40 +00:00
|
|
|
, rtl-sdr
|
|
|
|
, serialdv
|
2022-09-11 05:58:51 +00:00
|
|
|
, sgp4
|
2021-04-09 07:52:40 +00:00
|
|
|
, soapysdr-with-plugins
|
|
|
|
, uhd
|
2023-04-15 16:00:10 +00:00
|
|
|
, wrapQtAppsHook
|
2023-03-16 19:52:40 +00:00
|
|
|
, zlib
|
2019-08-25 12:20:02 +00:00
|
|
|
}:
|
|
|
|
|
2023-04-15 16:00:10 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-25 12:20:02 +00:00
|
|
|
pname = "sdrangel";
|
2023-06-02 16:07:54 +00:00
|
|
|
version = "7.14.2";
|
2019-08-25 12:20:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "f4exb";
|
|
|
|
repo = "sdrangel";
|
|
|
|
rev = "v${version}";
|
2023-06-02 16:07:54 +00:00
|
|
|
hash = "sha256-A9/uOecV1qRbAGcKI1brPFsbjfJG/8/zKrMwKMGw9rE=";
|
2019-08-25 12:20:02 +00:00
|
|
|
};
|
|
|
|
|
2023-04-15 16:00:10 +00:00
|
|
|
nativeBuildInputs = [ cmake ninja pkg-config wrapQtAppsHook ];
|
2021-04-09 07:52:40 +00:00
|
|
|
|
2019-08-25 12:20:02 +00:00
|
|
|
buildInputs = [
|
2021-04-09 07:52:40 +00:00
|
|
|
airspy
|
2022-09-11 05:58:51 +00:00
|
|
|
airspyhf
|
|
|
|
aptdec
|
2021-04-09 07:52:40 +00:00
|
|
|
boost
|
|
|
|
cm256cc
|
|
|
|
codec2
|
2022-09-11 05:58:51 +00:00
|
|
|
dab_lib
|
|
|
|
dsdcc
|
|
|
|
faad2
|
2021-04-09 07:52:40 +00:00
|
|
|
ffmpeg
|
|
|
|
fftwFloat
|
|
|
|
glew
|
|
|
|
hackrf
|
2022-09-11 05:58:51 +00:00
|
|
|
hidapi
|
2021-04-09 07:52:40 +00:00
|
|
|
libbladeRF
|
|
|
|
libiio
|
|
|
|
libopus
|
|
|
|
libpulseaudio
|
|
|
|
libusb1
|
|
|
|
limesuite
|
2022-09-11 05:58:51 +00:00
|
|
|
mbelib
|
2021-04-09 07:52:40 +00:00
|
|
|
opencv3
|
|
|
|
qtcharts
|
2023-03-16 19:52:40 +00:00
|
|
|
qtdeclarative
|
2023-05-26 09:19:45 +00:00
|
|
|
qtgamepad
|
2023-03-16 19:52:40 +00:00
|
|
|
qtgraphicaleffects
|
2021-04-09 07:52:40 +00:00
|
|
|
qtlocation
|
|
|
|
qtmultimedia
|
2023-03-16 19:52:40 +00:00
|
|
|
qtquickcontrols
|
|
|
|
qtquickcontrols2
|
2021-04-09 07:52:40 +00:00
|
|
|
qtserialport
|
|
|
|
qtspeech
|
2023-03-16 19:52:40 +00:00
|
|
|
qttools
|
2021-04-09 07:52:40 +00:00
|
|
|
qtwebsockets
|
2022-09-11 05:58:51 +00:00
|
|
|
qtwebengine
|
2021-04-09 07:52:40 +00:00
|
|
|
rtl-sdr
|
|
|
|
serialdv
|
2022-09-11 05:58:51 +00:00
|
|
|
sgp4
|
2021-04-09 07:52:40 +00:00
|
|
|
soapysdr-with-plugins
|
|
|
|
uhd
|
2023-03-16 19:52:40 +00:00
|
|
|
zlib
|
2019-08-25 12:20:02 +00:00
|
|
|
];
|
2021-04-09 07:52:40 +00:00
|
|
|
|
2019-08-25 12:20:02 +00:00
|
|
|
cmakeFlags = [
|
2022-09-11 05:58:51 +00:00
|
|
|
"-DAPT_DIR=${aptdec}"
|
2023-04-15 16:00:10 +00:00
|
|
|
"-DDAB_DIR=${dab_lib}"
|
2022-09-11 05:58:51 +00:00
|
|
|
"-DSGP4_DIR=${sgp4}"
|
2020-12-22 01:25:00 +00:00
|
|
|
"-DSOAPYSDR_DIR=${soapysdr-with-plugins}"
|
2023-04-15 16:00:10 +00:00
|
|
|
"-Wno-dev"
|
2019-08-25 12:20:02 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Software defined radio (SDR) software";
|
|
|
|
longDescription = ''
|
2021-04-09 07:52:40 +00:00
|
|
|
SDRangel is an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
2019-08-25 12:20:02 +00:00
|
|
|
'';
|
|
|
|
homepage = "https://github.com/f4exb/sdrangel";
|
|
|
|
license = licenses.gpl3Plus;
|
2023-03-22 10:13:27 +00:00
|
|
|
maintainers = with maintainers; [ alkeryn Tungsten842 ];
|
2023-03-12 20:21:49 +00:00
|
|
|
platforms = platforms.unix;
|
2019-08-25 12:20:02 +00:00
|
|
|
};
|
|
|
|
}
|