nixpkgs/pkgs/applications/radio/xlog/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
1.2 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, glib, gtk2, pkg-config, hamlib }:
2018-07-16 08:52:14 +00:00
stdenv.mkDerivation rec {
2019-02-03 11:20:27 +00:00
pname = "xlog";
2021-10-28 04:43:03 +00:00
version = "2.0.24";
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";
2021-10-28 04:43:03 +00:00
sha256 = "sha256-jUU6xt3H9bY9CAQRTFQjprlsC77VwjIB/6sSRNzE+Lw=";
2018-07-16 08:52:14 +00:00
};
2019-09-14 21:00:47 +00:00
# glib-2.62 deprecations
env.NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
2019-09-14 21:00:47 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib gtk2 hamlib ];
2018-07-16 08:52:14 +00:00
meta = with lib; {
2018-07-16 08:52:14 +00:00
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
'';
homepage = "https://www.nongnu.org/xlog";
2018-07-16 08:52:14 +00:00
maintainers = [ maintainers.mafo ];
license = licenses.gpl3;
platforms = platforms.unix;
};
}