about summary refs log tree commit diff
path: root/pkgs/applications/system
diff options
context:
space:
mode:
authora@b.co <a@b.co>2020-01-30 12:35:43 +0530
committerJosé Romildo <malaquias@gmail.com>2021-07-04 11:51:36 -0300
commite1f7f6df68e3d72d74bfdc4b46a29340a1283c7d (patch)
tree56f20920bf928686c262dd72d5a962decd31cc60 /pkgs/applications/system
parentf930ea227cecaed1f1bdb047fef54fe4f0721c8c (diff)
downloadnixlib-e1f7f6df68e3d72d74bfdc4b46a29340a1283c7d.tar
nixlib-e1f7f6df68e3d72d74bfdc4b46a29340a1283c7d.tar.gz
nixlib-e1f7f6df68e3d72d74bfdc4b46a29340a1283c7d.tar.bz2
nixlib-e1f7f6df68e3d72d74bfdc4b46a29340a1283c7d.tar.lz
nixlib-e1f7f6df68e3d72d74bfdc4b46a29340a1283c7d.tar.xz
nixlib-e1f7f6df68e3d72d74bfdc4b46a29340a1283c7d.tar.zst
nixlib-e1f7f6df68e3d72d74bfdc4b46a29340a1283c7d.zip
qjournalctl: init at 0.6.3
Diffstat (limited to 'pkgs/applications/system')
-rw-r--r--pkgs/applications/system/qjournalctl/default.nix44
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/applications/system/qjournalctl/default.nix b/pkgs/applications/system/qjournalctl/default.nix
new file mode 100644
index 000000000000..31c256f46c8e
--- /dev/null
+++ b/pkgs/applications/system/qjournalctl/default.nix
@@ -0,0 +1,44 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, qtbase
+, qmake
+, pkg-config
+, libssh
+, wrapQtAppsHook
+}:
+
+stdenv.mkDerivation rec {
+  pname = "qjournalctl";
+  version = "0.6.3";
+
+  src = fetchFromGitHub {
+    owner = "pentix";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0j27cmfq29mwrbjfrrwi6m1grcamhbfhk47xzlfsx5wr2q9m6qkz";
+  };
+
+  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";
+    homepage = "https://github.com/pentix/qjournalctl";
+    license = licenses.gpl3Only;
+    platforms = platforms.all;
+    maintainers = with maintainers; [ dtzWill srgom romildo ];
+  };
+}