summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorMaciej Krüger <mkg20001@gmail.com>2023-11-19 19:53:11 +0100
committerGitHub <noreply@github.com>2023-11-19 19:53:11 +0100
commit93308606e4b5800f019dee59c7d83b54a1bf643d (patch)
treee51bd756d78848dc1f10f494347b7b0b5357436d /pkgs/applications
parent2cc73b2b7cabeb0639e55e39b24b572adb8298ed (diff)
parent25c7520b73784b58ae2ab96d24a6ae1cb1562290 (diff)
Merge pull request #268418 from mkg20001/qlog
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/radio/qlog/default.nix53
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/applications/radio/qlog/default.nix b/pkgs/applications/radio/qlog/default.nix
new file mode 100644
index 0000000000000..098b51954a4eb
--- /dev/null
+++ b/pkgs/applications/radio/qlog/default.nix
@@ -0,0 +1,53 @@
+{ fetchFromGitHub
+, qtbase
+, stdenv
+, lib
+, wrapQtAppsHook
+, qmake
+, qtcharts
+, qtwebengine
+, qtserialport
+, qtwebchannel
+, hamlib
+, qtkeychain
+, pkg-config
+}:
+
+stdenv.mkDerivation rec {
+  pname = "qlog";
+  version = "0.29.2";
+
+  src = fetchFromGitHub {
+    owner = "foldynl";
+    repo = "QLog";
+    rev = "v${version}";
+    hash = "sha256-g7WgFQPMOaD+3YllZqpykslmPYT/jNVK7/1xaPdbti4=";
+    fetchSubmodules = true;
+  };
+
+  env.NIX_LDFLAGS = "-lhamlib";
+
+  buildInputs = [
+    qtbase
+    qtcharts
+    qtwebengine
+    qtserialport
+    qtwebchannel
+    hamlib
+    qtkeychain
+  ];
+
+  nativeBuildInputs = [
+    wrapQtAppsHook
+    qmake
+    pkg-config
+  ];
+
+  meta = with lib; {
+    description = "Amateur radio logbook software";
+    license = with licenses; [ gpl3Only ];
+    homepage = "https://github.com/foldynl/QLog";
+    maintainers = with maintainers; [ mkg20001 ];
+    platforms = with platforms; unix;
+  };
+}