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

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

57 lines
982 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-01-06 06:46:40 +00:00
version = "0.31.0";
2023-11-19 01:10:06 +00:00
src = fetchFromGitHub {
owner = "foldynl";
repo = "QLog";
rev = "v${version}";
2024-01-06 06:46:40 +00:00
hash = "sha256-tNTPT5AIQhKDyB+Pss+VdNeORcsHa+OSr15wLqID8PA=";
2023-11-19 01:10:06 +00:00
fetchSubmodules = true;
};
env.NIX_LDFLAGS = "-lhamlib";
buildInputs = [
qtbase
qtcharts
qtwebengine
qtserialport
qtwebchannel
hamlib
qtkeychain
2023-11-25 01:37:27 +00:00
] ++ (lib.optionals stdenv.isDarwin [
cups
]);
2023-11-19 01:10:06 +00:00
nativeBuildInputs = [
wrapQtAppsHook
qmake
pkg-config
];
meta = with lib; {
description = "Amateur radio logbook software";
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;
};
}