Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

dumpvdl2: init at 2.4.0 (#402481)

authored by

Marc Fontaine and committed by
GitHub
7ae8a2c0 dfcc388c

+55
+55
pkgs/by-name/du/dumpvdl2/package.nix
···
··· 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 + })