Skip to content

Commit

Permalink
dump1090: enable SoapySDR support
Browse files Browse the repository at this point in the history
  • Loading branch information
lasandell committed Jun 25, 2024
1 parent 4c547b6 commit bff6a5d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/applications/radio/dump1090/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{ lib, stdenv
, fetchFromGitHub
, pkg-config
, hackrf
, libbladeRF
, libusb1
, limesuite
, ncurses
, rtl-sdr
, hackrf
, limesuite
, soapysdr-with-plugins
}:

stdenv.mkDerivation rec {
Expand All @@ -23,17 +24,18 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];

buildInputs = [
hackrf
libbladeRF
libusb1
ncurses
rtl-sdr
hackrf
soapysdr-with-plugins
] ++ lib.optional stdenv.isLinux limesuite;

env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang
"-Wno-implicit-function-declaration -Wno-int-conversion -Wno-unknown-warning-option";

buildFlags = [ "DUMP1090_VERSION=${version}" "dump1090" "view1090" ];
buildFlags = [ "DUMP1090_VERSION=${version}" "showconfig" "dump1090" "view1090" ];

doCheck = true;

Expand Down

0 comments on commit bff6a5d

Please sign in to comment.