nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitLab,
5 qt6,
6 ffmpeg,
7 cmake,
8 ninja,
9 v4l-utils,
10 grim,
11 wf-recorder,
12 libdbusmenu,
13 playerctl,
14 xorg,
15 iio-sensor-proxy,
16 inotify-tools,
17 bluez,
18 networkmanager,
19 connman,
20 redshift,
21 gawk,
22 polkit,
23 libnotify,
24 systemd,
25 xdg-utils,
26 libcprime,
27 libcsys,
28}:
29
30stdenv.mkDerivation (finalAttrs: {
31 pname = "coretoppings";
32 version = "5.0.0";
33
34 src = fetchFromGitLab {
35 owner = "cubocore/coreapps";
36 repo = "coretoppings";
37 tag = "v${finalAttrs.version}";
38 hash = "sha256-wHVdZqXn8DXqLbCdKz2fI8BjNVai5dRq3a45HVCvLa8=";
39 };
40
41 patches = [
42 # Fix file cannot create directory: /var/empty/share/polkit-1/actions
43 ./0001-fix-install-phase.patch
44 ];
45
46 nativeBuildInputs = [
47 cmake
48 ninja
49 qt6.wrapQtAppsHook
50 ];
51
52 buildInputs = [
53 qt6.qtbase
54 qt6.qtconnectivity
55 libdbusmenu
56 ffmpeg
57 v4l-utils
58 grim
59 wf-recorder
60 playerctl
61 xorg.xrandr
62 xorg.xinput
63 xorg.libXdamage
64 iio-sensor-proxy
65 inotify-tools
66 bluez
67 networkmanager
68 connman
69 redshift
70 gawk
71 polkit
72 libnotify
73 systemd
74 xdg-utils
75 libcprime
76 libcsys
77 ];
78
79 meta = {
80 description = "Additional features,plugins etc for CuboCore Application Suite";
81 mainProgram = "shareIT";
82 homepage = "https://gitlab.com/cubocore/coreapps/coretoppings";
83 license = lib.licenses.gpl3Plus;
84 maintainers = with lib.maintainers; [ ];
85 platforms = lib.platforms.linux;
86 };
87})