fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib
2, stdenv
3, fetchFromGitHub
4, qtbase
5, qtsvg
6, wrapQtAppsHook
7}:
8
9stdenv.mkDerivation rec {
10 pname = "loganalyzer";
11 version = "23.5.1";
12
13 src = fetchFromGitHub {
14 owner = "pbek";
15 repo = "loganalyzer";
16 rev = "v${version}";
17 fetchSubmodules = true;
18 hash = "sha256-k9hOGI/TmiftwhSHQEh3ZVV8kkMSs1yKejqHelFSQJ4=";
19 };
20
21 buildInputs = [
22 qtbase
23 qtsvg
24 ];
25
26 nativeBuildInputs = [
27 wrapQtAppsHook
28 ];
29
30 sourceRoot = "${src.name}/src";
31
32 buildPhase = ''
33 runHook preBuild
34
35 qmake LogAnalyzer.pro CONFIG+=release PREFIX=/
36 make
37
38 runHook postBuild
39 '';
40
41 installFlags = [ "INSTALL_ROOT=$(out)" ];
42
43 postInstall = ''
44 ln -s $out/bin/LogAnalyzer $out/bin/loganalyzer
45 '';
46
47 meta = with lib; {
48 description = "Tool that helps you to analyze your log files by reducing the content with patterns you define";
49 homepage = "https://github.com/pbek/loganalyzer";
50 changelog = "https://github.com/pbek/loganalyzer/blob/develop/CHANGELOG.md";
51 downloadPage = "https://github.com/pbek/loganalyzer/releases/tag/v${version}";
52 license = licenses.gpl2Only;
53 maintainers = with maintainers; [ pbek ];
54 platforms = platforms.unix;
55 };
56}