From 0a15ad3eb932d8047c0a213c339c88836e6f462c Mon Sep 17 00:00:00 2001 From: pulsation Date: Tue, 3 Nov 2020 22:33:42 +0100 Subject: [PATCH] klog: init at 1.3.2 --- pkgs/applications/radio/klog/default.nix | 28 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/applications/radio/klog/default.nix diff --git a/pkgs/applications/radio/klog/default.nix b/pkgs/applications/radio/klog/default.nix new file mode 100644 index 000000000000..8a062c591b51 --- /dev/null +++ b/pkgs/applications/radio/klog/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, hamlib, pkgconfig, qt5, qtbase, qttools, qtserialport, qtcharts, qmake, wrapQtAppsHook }: + +stdenv.mkDerivation rec { + pname = "klog"; + version = "1.3.2"; + + src = fetchurl { + url = "https://download.savannah.nongnu.org/releases/klog/${pname}-${version}.tar.gz"; + sha256 = "1d5x7rq0mgfrqws3q1y4z8wh2qa3gvsmd0ssf2yqgkyq3fhdrb5c"; + }; + + nativeBuildInputs = [ pkgconfig wrapQtAppsHook qmake qttools ]; + buildInputs = [ hamlib qtbase qtserialport qtcharts ]; + + qmakeFlags = [ "KLog.pro" ]; + + meta = with stdenv.lib; { + description = "A multiplatform free hamradio logger"; + longDescription = '' + KLog provides QSO management, useful QSL management DX-Cluster client, DXCC management, + ClubLog integration, WSJT-X, DX-Marathon support and much more. + ''; + homepage = "https://www.klog.xyz/"; + license = licenses.gpl2Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ pulsation ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 95007595ddb2..176d296ca603 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2302,6 +2302,8 @@ in klipper = callPackage ../servers/klipper { }; + klog = qt5.callPackage ../applications/radio/klog { }; + lcdproc = callPackage ../servers/monitoring/lcdproc { }; languagetool = callPackage ../tools/text/languagetool { };