commit 1b108ad1b8438718c6593409229cd66947023c95
parent 3a1380968f682fae8cc15f05d8c9002d1f14ed3e
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Sun, 24 Oct 2021 12:51:59 +0300
sigdigger: enable rtl-sdr device support
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/pkgs/radio/sigdigger/default.nix b/pkgs/radio/sigdigger/default.nix
@@ -1,6 +1,7 @@
{ lib, stdenv, mkDerivation, fetchFromGitHub, qmake, pkg-config
, fftwFloat, sigutils, suscan, suwidgets, volk
-, fftw, libsndfile, soapysdr
+, fftw, libsndfile, soapysdr, soapyrtlsdr
+, portaudio
}:
mkDerivation rec {
@@ -18,7 +19,9 @@ mkDerivation rec {
buildInputs = [
fftwFloat sigutils suscan suwidgets volk
- fftw libsndfile soapysdr
+ fftw libsndfile
+ portaudio
+ (soapysdr.override { extraPackages = [ soapyrtlsdr ]; })
];
qmakeFlags = [ "SUWIDGETS_PREFIX=${suwidgets}" "SigDigger.pro" ];