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
63 lines
1.1 KiB
Nix
63 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
hamlib,
|
|
fltk13,
|
|
libjpeg,
|
|
libpng,
|
|
portaudio,
|
|
libsndfile,
|
|
libsamplerate,
|
|
libpulseaudio,
|
|
libXinerama,
|
|
gettext,
|
|
pkg-config,
|
|
alsa-lib,
|
|
udev,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fldigi";
|
|
version = "4.2.09";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
|
hash = "sha256-L+gj4DQyEOhPYAgOQuMtKf9RLzHJ4ACUHvGJcXDiLDc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
|
libXinerama
|
|
gettext
|
|
hamlib
|
|
fltk13
|
|
libjpeg
|
|
libpng
|
|
portaudio
|
|
libsndfile
|
|
libsamplerate
|
|
]
|
|
++ lib.optionals (stdenv.hostPlatform.isLinux) [
|
|
libpulseaudio
|
|
alsa-lib
|
|
udev
|
|
];
|
|
|
|
env.CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++14";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Digital modem program";
|
|
homepage = "https://sourceforge.net/projects/fldigi/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [
|
|
relrod
|
|
ftrvxmtrx
|
|
];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|