diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2023-11-19 19:53:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-19 19:53:11 +0100 |
commit | 93308606e4b5800f019dee59c7d83b54a1bf643d (patch) | |
tree | e51bd756d78848dc1f10f494347b7b0b5357436d /pkgs/applications/radio/qlog/default.nix | |
parent | 2cc73b2b7cabeb0639e55e39b24b572adb8298ed (diff) | |
parent | 25c7520b73784b58ae2ab96d24a6ae1cb1562290 (diff) |
Merge pull request #268418 from mkg20001/qlog
Diffstat (limited to 'pkgs/applications/radio/qlog/default.nix')
-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; + }; +} |