Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 46 lines 863 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 qtbase, 6 qmake, 7 pkg-config, 8 libssh, 9 wrapQtAppsHook, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "qjournalctl"; 14 version = "0.6.4"; 15 16 src = fetchFromGitHub { 17 owner = "pentix"; 18 repo = pname; 19 rev = "v${version}"; 20 sha256 = "sha256-anNNzqjbIaQI+MAwwMwzy6v4SKqi4u9F5IbFBErm4q8="; 21 }; 22 23 postPatch = '' 24 substituteInPlace qjournalctl.pro --replace /usr/ $out/ 25 ''; 26 27 nativeBuildInputs = [ 28 qmake 29 pkg-config 30 wrapQtAppsHook 31 ]; 32 33 buildInputs = [ 34 libssh 35 qtbase 36 ]; 37 38 meta = with lib; { 39 description = "Qt-based graphical user interface for systemd's journalctl command"; 40 mainProgram = "qjournalctl"; 41 homepage = "https://github.com/pentix/qjournalctl"; 42 license = licenses.gpl3Only; 43 platforms = platforms.all; 44 maintainers = with maintainers; [ romildo ]; 45 }; 46}