forked from mirrors/nixpkgs
95dc917f68
Build hasn't succeeded on Hydra for awhile.
55 lines
1.1 KiB
Nix
55 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.1.20";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
|
sha256 = "0f64pqijl3jlfmv00hkdxvn1wy5yy3zl33p6vf3fn1b91w590c2h";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
|
libXinerama
|
|
gettext
|
|
hamlib
|
|
fltk13
|
|
libjpeg
|
|
libpng
|
|
portaudio
|
|
libsndfile
|
|
libsamplerate
|
|
] ++ lib.optionals (stdenv.isLinux) [ libpulseaudio alsa-lib udev ];
|
|
|
|
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;
|
|
# unable to execute command: posix_spawn failed: Argument list too long
|
|
# Builds fine on aarch64-darwin
|
|
broken = stdenv.system == "x86_64-darwin";
|
|
};
|
|
}
|