nixos/librenms: use db socket when set and add package option (#359182)
[NixPkgs.git] / pkgs / applications / misc / cubocore-packages / corestuff / default.nix
blob8ec6080a4c32aeed9596f525620f7355d2c72f7d
2   mkDerivation,
3   lib,
4   fetchFromGitLab,
5   qtbase,
6   qtx11extras,
7   kglobalaccel,
8   xorg,
9   cmake,
10   ninja,
11   libcprime,
12   libcsys,
15 mkDerivation rec {
16   pname = "corestuff";
17   version = "4.5.0";
19   src = fetchFromGitLab {
20     owner = "cubocore/coreapps";
21     repo = pname;
22     rev = "v${version}";
23     hash = "sha256-2tnJMBbROGWZQDWjy/xGBNkv7DXXKLWrHf2XnMjOjWQ=";
24   };
26   patches = [
27     # Remove autostart
28     ./0001-fix-installPhase.patch
29   ];
31   nativeBuildInputs = [
32     cmake
33     ninja
34   ];
36   buildInputs = [
37     qtbase
38     qtx11extras
39     kglobalaccel
40     xorg.libXcomposite
41     libcprime
42     libcsys
43   ];
45   meta = with lib; {
46     description = "Activity viewer from the C Suite";
47     mainProgram = "corestuff";
48     homepage = "https://gitlab.com/cubocore/coreapps/corestuff";
49     license = licenses.gpl3Plus;
50     maintainers = with maintainers; [ dan4ik605743 ];
51     platforms = platforms.linux;
52   };