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";
2022-07-07 13:08:38 +00:00
version = "4.1.23";
src = fetchurl {
2019-02-03 10:30:33 +00:00
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
2022-07-07 13:08:38 +00:00
sha256 = "sha256-42bh/J/DQ/V9ORKKZgOmlvhyNR7UjbqPPD0Wi9ofyo0=";
};
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";
};
}