Files
nixpkgs/pkgs/by-name/du/dumphfdl/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

69 lines
1.5 KiB
Nix

{
stdenv,
lib,
fetchFromGitHub,
nix-update-script,
versionCheckHook,
cmake,
pkg-config,
libconfig,
liquid-dsp,
fftwSinglePrec,
glib,
soapysdr-with-plugins,
sqlite,
zeromq,
gperftools,
libacars,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "dumphfdl";
version = "1.6.1";
src = fetchFromGitHub {
owner = "szpajder";
repo = "dumphfdl";
tag = "v${finalAttrs.version}";
hash = "sha256-M4WjcGA15Kp+Hpp+I2Ndcx+oBqaGxEeQLTPcSlugLwQ=";
};
buildInputs = [
fftwSinglePrec
liquid-dsp
glib
libconfig
soapysdr-with-plugins
sqlite
zeromq
gperftools
libacars
];
nativeBuildInputs = [
cmake
pkg-config
];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://github.com/szpajder/dumphfdl";
changelog = "https://github.com/szpajder/dumphfdl/releases/tag/v${finalAttrs.version}";
description = "Decoder for Multichannel HFDL aircraft communication";
longDescription = ''
HFDL (High Frequency Data Link) is a protocol used for radio communications
between aircraft and ground stations. It is used to carry ACARS and AOC messages as well as
CPDLC (Controller-Pilot Data Link Communications) and ADS-C.
'';
license = lib.licenses.gpl3Plus;
mainProgram = "dumphfdl";
maintainers = [ lib.maintainers.mafo ];
platforms = with lib.platforms; linux ++ darwin;
badPlatforms = lib.platforms.darwin;
};
})