dump1090-fa: 10.2 -> 11.1 (#545152)
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
pkg-config,
|
||||
hackrf,
|
||||
libbladeRF,
|
||||
@@ -15,23 +14,15 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "dump1090";
|
||||
version = "10.2";
|
||||
version = "11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "flightaware";
|
||||
repo = "dump1090";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-kTJ8FMugBRJaxWas/jEj4E5TmVnNpNdhq4r2YFFwgTU=";
|
||||
hash = "sha256-A6nkct7jvpPtPZ+iM2UKVckIXgNxxq5sxhyPiw5+EZk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix compilation with GCC 15: https://github.com/flightaware/dump1090/pull/261
|
||||
(fetchpatch2 {
|
||||
url = "https://github.com/flightaware/dump1090/commit/93be1da123215e8ac15a0deaffedd480e8899f77.patch?full_index=1";
|
||||
hash = "sha256-x+U86b1j+mSpqfG4oFnHEz3cd7/O57ezPUf8yBrLzbc=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
@@ -44,8 +35,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.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=${finalAttrs.version}"
|
||||
"showconfig"
|
||||
@@ -74,6 +63,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
maintainers = with lib.maintainers; [
|
||||
earldouglas
|
||||
aciceri
|
||||
ryand56
|
||||
];
|
||||
mainProgram = "dump1090";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user