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

50 lines
914 B
Nix
Raw Normal View History

2021-07-25 23:01:57 +00:00
{ lib
, stdenv
, fetchurl
, hamlib
, fltk14
, 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
fltk14
libjpeg
libpng
portaudio
libsndfile
libsamplerate
] ++ lib.optionals (stdenv.isLinux) [ libpulseaudio alsa-lib udev ];
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;
};
}