@@ -0,0 +1,62 @@
1+{ mkDerivation, lib, fetchFromGitLab, libcprime, cmake, ninja
2+, ffmpeg, qtbase, qtx11extras, qtconnectivity, v4l-utils, grim, wf-recorder
3+, libdbusmenu, playerctl, xorg, iio-sensor-proxy, inotify-tools
4+, bluez, networkmanager, connman, redshift, gawk
5+, polkit, libnotify, systemd, xdg-utils }:
6+
7+mkDerivation rec {
8+ pname = "coretoppings";
9+ version = "4.2.0";
10+
11+ src = fetchFromGitLab {
12+ owner = "cubocore/coreapps";
13+ repo = pname;
14+ rev = "v${version}";
15+ sha256 = "sha256-DpmzGqjW1swLirRLzd5nblAb40LHAmf8nL+VykQNL3E=";
16+ };
17+
18+ nativeBuildInputs = [
19+ cmake
20+ ninja
21+ ];
22+
23+ patches = [
24+ # Fix file cannot create directory: /var/empty/share/polkit-1/actions
25+ ./0001-fix-install-phase.patch
26+ ];
27+
28+ buildInputs = [
29+ qtbase
30+ qtx11extras
31+ qtconnectivity
32+ libdbusmenu
33+ libcprime
34+ ffmpeg
35+ v4l-utils
36+ grim
37+ wf-recorder
38+ playerctl
39+ xorg.xrandr
40+ xorg.xinput
41+ xorg.libXdamage
42+ iio-sensor-proxy
43+ inotify-tools
44+ bluez
45+ networkmanager
46+ connman
47+ redshift
48+ gawk
49+ polkit
50+ libnotify
51+ systemd
52+ xdg-utils
53+ ];
54+
55+ meta = with lib; {
56+ description = "Additional features,plugins etc for CuboCore Application Suite";
57+ homepage = "https://gitlab.com/cubocore/coreapps/coretoppings";
58+ license = licenses.gpl3Plus;
59+ maintainers = with maintainers; [ dan4ik605743 ];
60+ platforms = platforms.linux;
61+ };
62+}