2018-07-16 08:52:14 +00:00
|
|
|
{ stdenv, fetchurl, glib, gtk2, pkgconfig, hamlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
2019-02-03 11:20:27 +00:00
|
|
|
pname = "xlog";
|
2020-05-11 01:36:12 +00:00
|
|
|
version = "2.0.19";
|
2019-02-03 11:20:27 +00:00
|
|
|
|
2018-07-16 08:52:14 +00:00
|
|
|
src = fetchurl {
|
2019-02-03 11:20:27 +00:00
|
|
|
url = "https://download.savannah.gnu.org/releases/xlog/${pname}-${version}.tar.gz";
|
2020-05-11 01:36:12 +00:00
|
|
|
sha256 = "0y38gkcm4mgv6wn31pjq6d5bm22m63rpwa55qjmrlywrmw76rppy";
|
2018-07-16 08:52:14 +00:00
|
|
|
};
|
|
|
|
|
2019-09-14 21:00:47 +00:00
|
|
|
# glib-2.62 deprecations
|
2019-10-30 11:34:47 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
|
2019-09-14 21:00:47 +00:00
|
|
|
|
2018-07-16 08:52:14 +00:00
|
|
|
buildInputs = [ glib pkgconfig gtk2 hamlib ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An amateur radio logging program";
|
|
|
|
longDescription =
|
|
|
|
'' Xlog is an amateur radio logging program.
|
|
|
|
It supports cabrillo, ADIF, trlog (format also used by tlf),
|
|
|
|
and EDI (ARRL VHF/UHF contest format) and can import twlog, editest and OH1AA logbook files.
|
|
|
|
Xlog is able to do DXCC lookups and will display country information, CQ and ITU zone,
|
|
|
|
location in latitude and longitude and distance and heading in kilometers or miles,
|
2019-02-03 11:20:27 +00:00
|
|
|
both for short and long path.
|
2018-07-16 08:52:14 +00:00
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.nongnu.org/xlog";
|
2018-07-16 08:52:14 +00:00
|
|
|
maintainers = [ maintainers.mafo ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|