Skip to content

Commit 7ae8a2c

Browse files
authored
dumpvdl2: init at 2.4.0 (#402481)
1 parent dfcc388 commit 7ae8a2c

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
stdenv,
3+
lib,
4+
fetchFromGitHub,
5+
nix-update-script,
6+
versionCheckHook,
7+
cmake,
8+
pkg-config,
9+
glib,
10+
soapysdr,
11+
sdrplay,
12+
sdrplaySupport ? false,
13+
sqlite,
14+
zeromq,
15+
libacars,
16+
}:
17+
18+
stdenv.mkDerivation (finalAttrs: {
19+
pname = "dumpvdl2";
20+
version = "2.4.0";
21+
22+
src = fetchFromGitHub {
23+
owner = "szpajder";
24+
repo = "dumpvdl2";
25+
tag = "v${finalAttrs.version}";
26+
hash = "sha256-kb8FLVuG9tSZta8nmaKRCRZinF1yy4+NNxD5s7X82Wk=";
27+
};
28+
29+
buildInputs = [
30+
glib
31+
soapysdr
32+
sqlite
33+
zeromq
34+
libacars
35+
] ++ lib.optionals sdrplaySupport [ sdrplay ];
36+
37+
nativeBuildInputs = [
38+
cmake
39+
pkg-config
40+
];
41+
42+
doInstallCheck = true;
43+
nativeInstallCheckInputs = [ versionCheckHook ];
44+
45+
passthru.updateScript = nix-update-script { };
46+
47+
meta = {
48+
homepage = "https://github.com/szpajder/dumpvdl2";
49+
description = "VDL Mode 2 message decoder and protocol analyzer";
50+
license = lib.licenses.gpl3Plus;
51+
platforms = with lib.platforms; linux ++ darwin;
52+
maintainers = [ lib.maintainers.mafo ];
53+
mainProgram = "dumpvdl2";
54+
};
55+
})

0 commit comments

Comments
 (0)