2021-07-14 22:03:04 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, qtbase
|
|
|
|
, qmake
|
|
|
|
, pkg-config
|
|
|
|
, libssh
|
|
|
|
, wrapQtAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qjournalctl";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.6.4";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pentix";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-anNNzqjbIaQI+MAwwMwzy6v4SKqi4u9F5IbFBErm4q8=";
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace qjournalctl.pro --replace /usr/ $out/
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
qmake
|
|
|
|
pkg-config
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libssh
|
|
|
|
qtbase
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Qt-based graphical user interface for systemd's journalctl command";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "qjournalctl";
|
2021-07-14 22:03:04 +00:00
|
|
|
homepage = "https://github.com/pentix/qjournalctl";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
platforms = platforms.all;
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = with maintainers; [ srgom romildo ];
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
}
|