{ dump1090
}:

dump1090.overrideAttrs (oldAttrs: {
  pname = "faup1090";

  buildFlags = [ "faup1090" ];

  installPhase = ''
    runHook preInstall

    mkdir -p $out/bin
    cp -v faup1090 $out/bin

    runHook postInstall
  '';
})