dump1090: 5.0 → 6.1
This commit is contained in:
parent
19b87ec97d
commit
ec6e1b27f0
1 changed files with 14 additions and 4 deletions
|
@ -5,17 +5,19 @@
|
||||||
, libusb1
|
, libusb1
|
||||||
, ncurses
|
, ncurses
|
||||||
, rtl-sdr
|
, rtl-sdr
|
||||||
|
, hackrf
|
||||||
|
, limesuite
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dump1090";
|
pname = "dump1090";
|
||||||
version = "5.0";
|
version = "6.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "flightaware";
|
owner = "flightaware";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1fckfcgypmplzl1lidd04jxiabczlfx9mv21d6rbsfknghsjpn03";
|
sha256 = "sha256-OLXnT5TD6ZBNJUk4qXOMbr+NWdw3j1rv1xkFPZi4Wo8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
@ -25,7 +27,15 @@ stdenv.mkDerivation rec {
|
||||||
libusb1
|
libusb1
|
||||||
ncurses
|
ncurses
|
||||||
rtl-sdr
|
rtl-sdr
|
||||||
];
|
hackrf
|
||||||
|
] ++ lib.optional stdenv.isLinux limesuite;
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang
|
||||||
|
"-Wno-implicit-function-declaration -Wno-int-conversion";
|
||||||
|
|
||||||
|
buildFlags = [ "dump1090" "view1090" ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
@ -41,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||||
description = "A simple Mode S decoder for RTLSDR devices";
|
description = "A simple Mode S decoder for RTLSDR devices";
|
||||||
homepage = "https://github.com/flightaware/dump1090";
|
homepage = "https://github.com/flightaware/dump1090";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ earldouglas ];
|
maintainers = with maintainers; [ earldouglas ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue