git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #74771 from danieldk/dump1090-3.7.2

dump1090: 2014-10-31 -> 3.7.1

commit0804fd6a5e00254373e6f7e5c73c87aec97cb065 authormarkuskowa <markus.kowalewski@gmail.com> dateMon 2 Dec 2019, 16:37 (7 years ago) parentfdcae2302553c1
2 files changed+28−10
nixos/doc/manual/release-notes/rl-2003.xml+8 pkgs/applications/radio/dump1090/default.nix+20−10
nixos/doc/manual/release-notes/rl-2003.xml+8
@@ -206,6 +206,14 @@
206206 <option>hardware.bluetooth.enable</option>.
207207 </para>
208208 </listitem>
209+ <listitem>
210+ <para>
211+ The <literal>dump1090</literal> derivation has been changed to use FlightAware's dump1090
212+ as its upstream. However, this version does not have an internal webserver anymore. The
213+ assets in the <literal>share/dump1090</literal> directory of the derivation can be used
214+ in conjunction with an external webserver to replace this functionality.
215+ </para>
216+ </listitem>
209217 </itemizedlist>
210218 </section>
211219
pkgs/applications/radio/dump1090/default.nix+20−10
@@ -1,21 +1,31 @@
1−{ stdenv, fetchFromGitHub, pkgconfig, libusb, rtl-sdr }:
1+{ stdenv
2+, fetchFromGitHub
3+, pkgconfig
4+, libbladeRF
5+, libusb
6+, ncurses
7+, rtl-sdr
8+}:
29
310stdenv.mkDerivation rec {
411 pname = "dump1090";
5− version = "2014-10-31";
12+ version = "3.7.2";
613
714 src = fetchFromGitHub {
8− owner = "MalcolmRobb";
15+ owner = "flightaware";
916 repo = pname;
10− rev = "bff92c4ad772a0a8d433f788d39dae97e00e4dbe";
11− sha256 = "06aaj9gpz5v4qzvnp8xf18wdfclp0jvn3hflls79ly46gz2dh9hy";
17+ rev = "v${version}";
18+ sha256 = "0vlv9bd805kid202xxkrnl51rh02cyrl055gbcqlqgk51j5rrq8w";
1219 };
1320
1421 nativeBuildInputs = [ pkgconfig ];
1522
16− buildInputs = [ libusb rtl-sdr ];
17−
18− makeFlags = [ "PREFIX=$(out)" ];
23+ buildInputs = [
24+ libbladeRF
25+ libusb
26+ ncurses
27+ rtl-sdr
28+ ];
1929
2030 installPhase = ''
2131 mkdir -p $out/bin $out/share
@@ -25,8 +35,8 @@ stdenv.mkDerivation rec {
2535
2636 meta = with stdenv.lib; {
2737 description = "A simple Mode S decoder for RTLSDR devices";
28− homepage = https://github.com/MalcolmRobb/dump1090;
29− license = licenses.bsd3;
38+ homepage = "https://github.com/flightaware/dump1090";
39+ license = licenses.gpl2Plus;
3040 platforms = platforms.linux;
3141 maintainers = with maintainers; [ earldouglas ];
3242 };