dump1090: 5.0 → 6.1

+14 -4
+14 -4
pkgs/applications/radio/dump1090/default.nix
··· 5 5 , libusb1 6 6 , ncurses 7 7 , rtl-sdr 8 + , hackrf 9 + , limesuite 8 10 }: 9 11 10 12 stdenv.mkDerivation rec { 11 13 pname = "dump1090"; 12 - version = "5.0"; 14 + version = "6.1"; 13 15 14 16 src = fetchFromGitHub { 15 17 owner = "flightaware"; 16 18 repo = pname; 17 19 rev = "v${version}"; 18 - sha256 = "1fckfcgypmplzl1lidd04jxiabczlfx9mv21d6rbsfknghsjpn03"; 20 + sha256 = "sha256-OLXnT5TD6ZBNJUk4qXOMbr+NWdw3j1rv1xkFPZi4Wo8="; 19 21 }; 20 22 21 23 nativeBuildInputs = [ pkg-config ]; ··· 25 27 libusb1 26 28 ncurses 27 29 rtl-sdr 28 - ]; 30 + hackrf 31 + ] ++ lib.optional stdenv.isLinux limesuite; 32 + 33 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang 34 + "-Wno-implicit-function-declaration -Wno-int-conversion"; 35 + 36 + buildFlags = [ "dump1090" "view1090" ]; 37 + 38 + doCheck = true; 29 39 30 40 installPhase = '' 31 41 runHook preInstall ··· 41 51 description = "A simple Mode S decoder for RTLSDR devices"; 42 52 homepage = "https://github.com/flightaware/dump1090"; 43 53 license = licenses.gpl2Plus; 44 - platforms = platforms.linux; 54 + platforms = platforms.unix; 45 55 maintainers = with maintainers; [ earldouglas ]; 46 56 }; 47 57 }