diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2023-11-19 02:10:06 +0100 |
---|---|---|
committer | Maciej Krüger <mkg20001@gmail.com> | 2023-11-19 02:10:06 +0100 |
commit | 25c7520b73784b58ae2ab96d24a6ae1cb1562290 (patch) | |
tree | b7ffb0caf263ed3b73381b1b06979651248eea87 /pkgs/applications | |
parent | 6d66dd91443d4a10e0bfe3920bff0770fb953258 (diff) |
qlog: init at 0.29.2
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/radio/qlog/default.nix | 53 |
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; + }; +} |