nixpkgs/pkgs/applications/radio/sdrangel/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

127 lines
2.0 KiB
Nix
Raw Normal View History

{ 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
, ninja
2021-04-09 07:52:40 +00:00
, opencv3
, pkg-config
, qtcharts
, qtdeclarative
2023-05-26 09:19:45 +00:00
, qtgamepad
, qtgraphicaleffects
2021-04-09 07:52:40 +00:00
, qtlocation
, qtmultimedia
, qtquickcontrols
, qtquickcontrols2
2021-04-09 07:52:40 +00:00
, qtserialport
, qtspeech
, 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
, wrapQtAppsHook
, zlib
2019-08-25 12:20:02 +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
};
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
qtdeclarative
2023-05-26 09:19:45 +00:00
qtgamepad
qtgraphicaleffects
2021-04-09 07:52:40 +00:00
qtlocation
qtmultimedia
qtquickcontrols
qtquickcontrols2
2021-04-09 07:52:40 +00:00
qtserialport
qtspeech
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
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}"
"-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}"
"-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 ];
platforms = platforms.unix;
2019-08-25 12:20:02 +00:00
};
}