diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-02-18 01:12:31 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-02-18 01:12:31 +0000 |
commit | 50053cda79099c9a0b2a7803aef61f730a54848f (patch) | |
tree | 6413bbed5cbdd3f58d26d54cbf1b37d54a8c3a22 /nixpkgs/pkgs/applications/radio | |
parent | 7fbd32a525182f2089e1098723219a1a4ef264bb (diff) | |
parent | 36f316007494c388df1fec434c1e658542e3c3cc (diff) | |
download | nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.tar nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.tar.gz nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.tar.bz2 nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.tar.lz nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.tar.xz nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.tar.zst nixlib-50053cda79099c9a0b2a7803aef61f730a54848f.zip |
Merge commit '36f316007494c388df1fec434c1e658542e3c3cc'
Diffstat (limited to 'nixpkgs/pkgs/applications/radio')
-rw-r--r-- | nixpkgs/pkgs/applications/radio/aldo/default.nix | 21 | ||||
-rw-r--r-- | nixpkgs/pkgs/applications/radio/tlf/default.nix | 42 |
2 files changed, 63 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/radio/aldo/default.nix b/nixpkgs/pkgs/applications/radio/aldo/default.nix new file mode 100644 index 000000000000..fc38f6be4cca --- /dev/null +++ b/nixpkgs/pkgs/applications/radio/aldo/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, libao }: + +stdenv.mkDerivation rec { + pname = "aldo"; + version = "0.7.7"; + + src = fetchurl { + url = "mirror://savannah/${pname}/${pname}-${version}.tar.bz2"; + sha256 = "14lzgldqzbbzydsy1cai3wln3hpyj1yhj8ji3wygyzr616fq9f7i"; + }; + + buildInputs = [ libao ]; + + meta = with stdenv.lib; { + description = "Morse code training program"; + homepage = http://aldo.nongnu.org/; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ etu ]; + platforms = platforms.linux; + }; +} diff --git a/nixpkgs/pkgs/applications/radio/tlf/default.nix b/nixpkgs/pkgs/applications/radio/tlf/default.nix new file mode 100644 index 000000000000..92183306038b --- /dev/null +++ b/nixpkgs/pkgs/applications/radio/tlf/default.nix @@ -0,0 +1,42 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, autoconf, automake, pkgconfig, glib +, perl, ncurses, hamlib, xmlrpc_c }: + +stdenv.mkDerivation rec { + pname = "tlf"; + version = "1.3.2"; + + src = fetchFromGitHub { + owner = pname; + repo = pname; + rev = "${pname}-${version}"; + sha256 = "0gniysjm8aq5anq0a0az31vd6h1vyg56bifc7rpf53lsh9hkzmgc"; + }; + + nativeBuildInputs = [ autoreconfHook autoconf automake pkgconfig perl ]; + buildInputs = [ glib ncurses hamlib xmlrpc_c ]; + + configureFlags = [ "--enable-hamlib" "--enable-fldigi-xmlrpc" ]; + + postInstall = '' + mkdir -p $out/lib + + # Hack around lack of libtinfo in NixOS + ln -s ${ncurses.out}/lib/libncursesw.so.6 $out/lib/libtinfo.so.5 + ''; + + meta = with stdenv.lib; { + description = "Advanced ham radio logging and contest program"; + longDescription = '' + TLF is a curses based console mode general logging and contest program for + amateur radio. + + It supports the CQWW, the WPX, the ARRL-DX, the ARRL-FD, the PACC and the + EU SPRINT shortwave contests (single operator) as well as a LOT MORE basic + contests, general QSO and DXpedition mode. + ''; + homepage = https://tlf.github.io/; + license = licenses.gpl2; + maintainers = with maintainers; [ etu ]; + platforms = platforms.linux; + }; +} |