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

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

58 lines
1021 B
Nix
Raw Normal View History

2023-11-19 01:10:06 +00:00
{ fetchFromGitHub
, qtbase
, stdenv
, lib
, wrapQtAppsHook
, qmake
, qtcharts
, qtwebengine
, qtserialport
, qtwebchannel
, hamlib
, qtkeychain
, pkg-config
2023-11-25 01:37:27 +00:00
, cups
2023-11-19 01:10:06 +00:00
}:
stdenv.mkDerivation rec {
pname = "qlog";
2024-08-29 17:32:59 +00:00
version = "0.38.0";
2023-11-19 01:10:06 +00:00
src = fetchFromGitHub {
owner = "foldynl";
repo = "QLog";
rev = "v${version}";
2024-08-29 17:32:59 +00:00
hash = "sha256-C9kXntcCUaEl/S1ypZrU0ZPfaJbzg6/aXJSC+TREmhc=";
2023-11-19 01:10:06 +00:00
fetchSubmodules = true;
};
env.NIX_LDFLAGS = "-lhamlib";
buildInputs = [
qtbase
qtcharts
qtwebengine
qtserialport
qtwebchannel
hamlib
qtkeychain
] ++ (lib.optionals stdenv.hostPlatform.isDarwin [
2023-11-25 01:37:27 +00:00
cups
]);
2023-11-19 01:10:06 +00:00
nativeBuildInputs = [
wrapQtAppsHook
qmake
pkg-config
];
meta = with lib; {
description = "Amateur radio logbook software";
mainProgram = "qlog";
2023-11-19 01:10:06 +00:00
license = with licenses; [ gpl3Only ];
homepage = "https://github.com/foldynl/QLog";
2023-11-26 01:25:58 +00:00
maintainers = with maintainers; [ oliver-koss mkg20001 ];
2023-11-19 01:10:06 +00:00
platforms = with platforms; unix;
};
}