···1+{ stdenv, fetchurl, glib, gtk2, pkgconfig, hamlib }:
2+stdenv.mkDerivation rec {
3+ name = "xlog-${version}";
4+ version = "2.0.15";
5+6+ src = fetchurl {
7+ url = "http://download.savannah.gnu.org/releases/xlog/${name}.tar.gz";
8+ sha256 = "0an883wqw3zwpw8nqinm9cb17hp2xw9vf603k4l2345p61jqdw2j";
9+ };
10+11+ buildInputs = [ glib pkgconfig gtk2 hamlib ];
12+13+ meta = with stdenv.lib; {
14+ description = "An amateur radio logging program";
15+ longDescription =
16+ '' Xlog is an amateur radio logging program.
17+ It supports cabrillo, ADIF, trlog (format also used by tlf),
18+ and EDI (ARRL VHF/UHF contest format) and can import twlog, editest and OH1AA logbook files.
19+ Xlog is able to do DXCC lookups and will display country information, CQ and ITU zone,
20+ location in latitude and longitude and distance and heading in kilometers or miles,
21+ both for short and long path.
22+ '';
23+ homepage = http://www.nongnu.org/xlog;
24+ maintainers = [ maintainers.mafo ];
25+ license = licenses.gpl3;
26+ platforms = platforms.unix;
27+ };
28+29+}