2021-08-05 21:33:18 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, hamlib
|
2021-12-30 13:39:12 +00:00
|
|
|
, fltk13
|
2021-08-05 21:33:18 +00:00
|
|
|
, libjpeg
|
|
|
|
, libpng
|
|
|
|
, portaudio
|
|
|
|
, libsndfile
|
|
|
|
, libsamplerate
|
|
|
|
, libpulseaudio
|
|
|
|
, libXinerama
|
|
|
|
, gettext
|
|
|
|
, pkg-config
|
|
|
|
, alsa-lib
|
|
|
|
, udev
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fldigi";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "4.2.03";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-tcJYpIeFgoC+jXIdvc1ix+/6v9oPccfxgQbL0wIIKaY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
buildInputs = [
|
|
|
|
libXinerama
|
|
|
|
gettext
|
|
|
|
hamlib
|
2021-12-30 13:39:12 +00:00
|
|
|
fltk13
|
2021-08-05 21:33:18 +00:00
|
|
|
libjpeg
|
|
|
|
libpng
|
|
|
|
portaudio
|
|
|
|
libsndfile
|
|
|
|
libsamplerate
|
|
|
|
] ++ lib.optionals (stdenv.isLinux) [ libpulseaudio alsa-lib udev ];
|
|
|
|
|
2021-12-30 13:39:12 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Digital modem program";
|
|
|
|
homepage = "https://sourceforge.net/projects/fldigi/";
|
2021-08-05 21:33:18 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ relrod ftrvxmtrx ];
|
|
|
|
platforms = platforms.unix;
|
2021-12-30 13:39:12 +00:00
|
|
|
# unable to execute command: posix_spawn failed: Argument list too long
|
|
|
|
# Builds fine on aarch64-darwin
|
|
|
|
broken = stdenv.system == "x86_64-darwin";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|