···11+{ stdenv, fetchurl, glib, gtk2, pkgconfig, hamlib }:
22+stdenv.mkDerivation rec {
33+ name = "xlog-${version}";
44+ version = "2.0.15";
55+66+ src = fetchurl {
77+ url = "http://download.savannah.gnu.org/releases/xlog/${name}.tar.gz";
88+ sha256 = "0an883wqw3zwpw8nqinm9cb17hp2xw9vf603k4l2345p61jqdw2j";
99+ };
1010+1111+ buildInputs = [ glib pkgconfig gtk2 hamlib ];
1212+1313+ meta = with stdenv.lib; {
1414+ description = "An amateur radio logging program";
1515+ longDescription =
1616+ '' Xlog is an amateur radio logging program.
1717+ It supports cabrillo, ADIF, trlog (format also used by tlf),
1818+ and EDI (ARRL VHF/UHF contest format) and can import twlog, editest and OH1AA logbook files.
1919+ Xlog is able to do DXCC lookups and will display country information, CQ and ITU zone,
2020+ location in latitude and longitude and distance and heading in kilometers or miles,
2121+ both for short and long path.
2222+ '';
2323+ homepage = http://www.nongnu.org/xlog;
2424+ maintainers = [ maintainers.mafo ];
2525+ license = licenses.gpl3;
2626+ platforms = platforms.unix;
2727+ };
2828+2929+}