tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dump1090: 5.0 → 6.1
Nikolay Korotkiy
4 years ago
ec6e1b27
19b87ec9
+14
-4
1 changed file
expand all
collapse all
unified
split
pkgs
applications
radio
dump1090
default.nix
+14
-4
pkgs/applications/radio/dump1090/default.nix
···
5
5
, libusb1
6
6
, ncurses
7
7
, rtl-sdr
8
8
+
, hackrf
9
9
+
, limesuite
8
10
}:
9
11
10
12
stdenv.mkDerivation rec {
11
13
pname = "dump1090";
12
12
-
version = "5.0";
14
14
+
version = "6.1";
13
15
14
16
src = fetchFromGitHub {
15
17
owner = "flightaware";
16
18
repo = pname;
17
19
rev = "v${version}";
18
18
-
sha256 = "1fckfcgypmplzl1lidd04jxiabczlfx9mv21d6rbsfknghsjpn03";
20
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
28
-
];
30
30
+
hackrf
31
31
+
] ++ lib.optional stdenv.isLinux limesuite;
32
32
+
33
33
+
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang
34
34
+
"-Wno-implicit-function-declaration -Wno-int-conversion";
35
35
+
36
36
+
buildFlags = [ "dump1090" "view1090" ];
37
37
+
38
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
44
-
platforms = platforms.linux;
54
54
+
platforms = platforms.unix;
45
55
maintainers = with maintainers; [ earldouglas ];
46
56
};
47
57
}