File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments