about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/cubocore-packages/coretoppings/default.nix
blob: 1296c8f57564f7d723dc67e9cef803c52e5e8411 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{ mkDerivation
, lib
, fetchFromGitLab
, ffmpeg
, cmake
, ninja
, qtbase
, qtx11extras
, qtconnectivity
, v4l-utils
, grim
, wf-recorder
, libdbusmenu
, playerctl
, xorg
, iio-sensor-proxy
, inotify-tools
, bluez
, networkmanager
, connman
, redshift
, gawk
, polkit
, libnotify
, systemd
, xdg-utils
, libcprime
, libcsys
}:

mkDerivation rec {
  pname = "coretoppings";
  version = "4.5.0";

  src = fetchFromGitLab {
    owner = "cubocore/coreapps";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-IYUkPGgFGI6889IyromMBobIoqSZtALVsSswQ7O1Bp0=";
  };

  patches = [
    # Fix file cannot create directory: /var/empty/share/polkit-1/actions
    ./0001-fix-install-phase.patch
  ];

  nativeBuildInputs = [
    cmake
    ninja
  ];

  buildInputs = [
    qtbase
    qtx11extras
    qtconnectivity
    libdbusmenu
    ffmpeg
    v4l-utils
    grim
    wf-recorder
    playerctl
    xorg.xrandr
    xorg.xinput
    xorg.libXdamage
    iio-sensor-proxy
    inotify-tools
    bluez
    networkmanager
    connman
    redshift
    gawk
    polkit
    libnotify
    systemd
    xdg-utils
    libcprime
    libcsys
  ];

  meta = with lib; {
    description = "Additional features,plugins etc for CuboCore Application Suite";
    mainProgram = "shareIT";
    homepage = "https://gitlab.com/cubocore/coreapps/coretoppings";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ dan4ik605743 ];
    platforms = platforms.linux;
  };
}