dump1090: 9.0 -> 10.0.1 (#400660)

This commit is contained in:
Pol Dellaiera
2025-04-28 05:27:24 +00:00
committed by GitHub
+10 -18
View File
@@ -13,25 +13,17 @@
soapysdr-with-plugins,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "dump1090";
version = "9.0";
version = "10.0.1";
src = fetchFromGitHub {
owner = "flightaware";
repo = "dump1090";
rev = "v${version}";
sha256 = "sha256-rc4mg+Px+0p2r38wxIah/rHqWjHSU0+KCPgqj/Gl3oo=";
tag = "v${finalAttrs.version}";
hash = "sha256-un2AK5RNkdQSWNbgbrn5K4eZXQdDOgUEzkcoLUVZ+sY=";
};
patches = [
# GCC 14 fix, remove when included in release
(fetchpatch {
url = "https://github.com/flightaware/dump1090/commit/eb08fd7fce8d133b0e7a0d45d0cb9423b09ddc55.patch";
hash = "sha256-le9rDeU4+r2kROjCuqt0cSN4pPkwfiD4YTdM9qFeYyQ=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
@@ -46,7 +38,7 @@ stdenv.mkDerivation rec {
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_VERSION=${finalAttrs.version}"
"showconfig"
"dump1090"
"view1090"
@@ -64,11 +56,11 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with lib; {
meta = {
description = "Simple Mode S decoder for RTLSDR devices";
homepage = "https://github.com/flightaware/dump1090";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ earldouglas ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ earldouglas ];
};
}
})