nixpkgs/pkgs/applications/radio/fldigi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
1.1 KiB
Nix
Raw Normal View History

2021-07-25 23:01:57 +00:00
{ lib
, stdenv
, fetchurl
, hamlib
, fltk13
2021-07-25 23:01:57 +00:00
, libjpeg
, libpng
, portaudio
, libsndfile
, libsamplerate
, libpulseaudio
, libXinerama
, gettext
, pkg-config
, alsa-lib
, udev
2021-07-25 23:01:57 +00:00
}:
stdenv.mkDerivation rec {
pname = "fldigi";
2021-08-07 20:19:15 +00:00
version = "4.1.20";
src = fetchurl {
2019-02-03 10:30:33 +00:00
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
2021-08-07 20:19:15 +00:00
sha256 = "0f64pqijl3jlfmv00hkdxvn1wy5yy3zl33p6vf3fn1b91w590c2h";
};
nativeBuildInputs = [ pkg-config ];
2021-07-25 23:01:57 +00:00
buildInputs = [
libXinerama
gettext
hamlib
fltk13
2021-07-25 23:01:57 +00:00
libjpeg
libpng
portaudio
libsndfile
libsamplerate
] ++ lib.optionals (stdenv.isLinux) [ libpulseaudio alsa-lib udev ];
enableParallelBuilding = true;
2021-07-25 23:01:57 +00:00
meta = with lib; {
description = "Digital modem program";
2020-04-05 17:31:28 +00:00
homepage = "https://sourceforge.net/projects/fldigi/";
2021-07-25 23:01:57 +00:00
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";
};
}