anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / misc / cubocore-packages / corestuff / default.nix
blob08b8629da6525aec63e270b99f6b6abcf441f023
1 { mkDerivation, lib, fetchFromGitLab, qtbase, qtx11extras, kglobalaccel, xorg, cmake, ninja, libcprime, libcsys }:
3 mkDerivation rec {
4   pname = "corestuff";
5   version = "4.5.0";
7   src = fetchFromGitLab {
8     owner = "cubocore/coreapps";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-2tnJMBbROGWZQDWjy/xGBNkv7DXXKLWrHf2XnMjOjWQ=";
12   };
14   patches = [
15     # Remove autostart
16     ./0001-fix-installPhase.patch
17   ];
19   nativeBuildInputs = [
20     cmake
21     ninja
22   ];
24   buildInputs = [
25     qtbase
26     qtx11extras
27     kglobalaccel
28     xorg.libXcomposite
29     libcprime
30     libcsys
31   ];
33   meta = with lib; {
34     description = "Activity viewer from the C Suite";
35     mainProgram = "corestuff";
36     homepage = "https://gitlab.com/cubocore/coreapps/corestuff";
37     license = licenses.gpl3Plus;
38     maintainers = with maintainers; [ dan4ik605743 ];
39     platforms = platforms.linux;
40   };