mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
50 lines
914 B
Nix
50 lines
914 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, hamlib
|
|
, fltk14
|
|
, 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
|
|
fltk14
|
|
libjpeg
|
|
libpng
|
|
portaudio
|
|
libsndfile
|
|
libsamplerate
|
|
] ++ lib.optionals (stdenv.isLinux) [ libpulseaudio alsa-lib udev ];
|
|
|
|
meta = with lib; {
|
|
description = "Digital modem program";
|
|
homepage = "https://sourceforge.net/projects/fldigi/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ relrod ftrvxmtrx ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|