Files
nixpkgs/pkgs/by-name/du/dumpvdl2/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

57 lines
1.0 KiB
Nix

{
stdenv,
lib,
fetchFromGitHub,
nix-update-script,
versionCheckHook,
cmake,
pkg-config,
glib,
soapysdr,
sdrplay,
sdrplaySupport ? false,
sqlite,
zeromq,
libacars,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "dumpvdl2";
version = "2.4.0";
src = fetchFromGitHub {
owner = "szpajder";
repo = "dumpvdl2";
tag = "v${finalAttrs.version}";
hash = "sha256-kb8FLVuG9tSZta8nmaKRCRZinF1yy4+NNxD5s7X82Wk=";
};
buildInputs = [
glib
soapysdr
sqlite
zeromq
libacars
]
++ lib.optionals sdrplaySupport [ sdrplay ];
nativeBuildInputs = [
cmake
pkg-config
];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://github.com/szpajder/dumpvdl2";
description = "VDL Mode 2 message decoder and protocol analyzer";
license = lib.licenses.gpl3Plus;
platforms = with lib.platforms; linux ++ darwin;
maintainers = [ lib.maintainers.mafo ];
mainProgram = "dumpvdl2";
};
})