anchor.diff:      description = "A simple Mode S decoder for RTLSDR devices";
       homepage = "https://github.com/flightaware/dump1090";
       license = licenses.gpl2Plus;
  -    platforms = platforms.linux;
  +    platforms = platforms.unix;
       maintainers = with maintainers; [ earldouglas ];
     };
   }
  
positive.code:     libusb1
      ncurses
      rtl-sdr
    ];
  
    installPhase = ''
      runHook preInstall
  
negative.code: , libusb1
  , ncurses
  , rtl-sdr
  , hackrf
  , limesuite
  }:
  
  stdenv.mkDerivation rec {
    pname = "dump1090";
    version = "6.1";
  
    src = fetchFromGitHub {
      owner = "flightaware";
      repo = pname;
      rev = "v${version}";
      sha256 = "sha256-OLXnT5TD6ZBNJUk4qXOMbr+NWdw3j1rv1xkFPZi4Wo8=";
    };
  
    nativeBuildInputs = [ pkg-config ];
  