nixpkgs/pkgs/applications/system/qjournalctl/default.nix
Anderson Torres 2ac414fa93 treewide: remove dtzWill as maintainer [no orphans]
Since theey is not active in a long span of time.

None of the packages in this commit are orphan.
2024-07-17 13:25:27 -03:00

46 lines
859 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, qtbase
, qmake
, pkg-config
, libssh
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "qjournalctl";
version = "0.6.4";
src = fetchFromGitHub {
owner = "pentix";
repo = pname;
rev = "v${version}";
sha256 = "sha256-anNNzqjbIaQI+MAwwMwzy6v4SKqi4u9F5IbFBErm4q8=";
};
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";
mainProgram = "qjournalctl";
homepage = "https://github.com/pentix/qjournalctl";
license = licenses.gpl3Only;
platforms = platforms.all;
maintainers = with maintainers; [ srgom romildo ];
};
}