mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
4c64146e45
The GitHub account has been inactive for 4+ years. This is sadly necessary due to the delays in reviews/merges when others are waiting for the requested maintainers to review the PR. Instructions for re-adding once you return https://github.com/NixOS/nixpkgs/tree/master/maintainers#how-to-become-a-maintainer We appreciate your past and future contributions. Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
46 lines
853 B
Nix
46 lines
853 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; [ romildo ];
|
|
};
|
|
}
|