radiobert: remove dump1090

This commit is contained in:
Astro 2021-12-13 17:36:54 +01:00
parent 8c6635368c
commit 52ac03ee0f
3 changed files with 0 additions and 25 deletions

View File

@ -88,7 +88,6 @@ in {
'';
environment.systemPackages = with pkgs; [
dump1090_sdrplus
readsb
];
}

View File

@ -5,8 +5,6 @@ final: prev:
pile = prev.callPackage ./pile.nix { };
dump1090_sdrplus = prev.callPackage ./dump1090.nix { };
pi-sensors = prev.callPackage ./pi-sensors { };
hackrf = import ./hackrf.nix prev;

View File

@ -1,22 +0,0 @@
{ dump1090, fetchFromGitHub
, hackrf, rtl-sdr, airspy, soxr, libusb1
}:
dump1090.overrideAttrs (oa: {
src = fetchFromGitHub {
owner = "itemir";
repo = "dump1090_sdrplus";
rev = "master";
sha256 = "0pyc22fqzqqmzkci0ws5clbwcxa32qlrcb8sgrjzxkx48kyjlwm3";
};
buildInputs = oa.buildInputs ++ [
hackrf
rtl-sdr
airspy
soxr
];
makeFlags = [ "NoSDRplay=1" ];
installPhase = ''
mkdir -p $out/bin
cp -a dump1090 $out/bin/
'';
})