base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / bu / budgie-desktop / package.nix
blob74d9d2c35a94f297dd17a22f8ec18b288ebed679
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   accountsservice,
6   alsa-lib,
7   budgie-screensaver,
8   docbook-xsl-nons,
9   glib,
10   gnome-desktop,
11   gnome-settings-daemon,
12   graphene,
13   gst_all_1,
14   gtk-doc,
15   gtk3,
16   ibus,
17   intltool,
18   libcanberra-gtk3,
19   libgee,
20   libGL,
21   libnotify,
22   libpeas,
23   libpulseaudio,
24   libuuid,
25   libwnck,
26   magpie,
27   mesa,
28   meson,
29   mutter,
30   ninja,
31   nix-update-script,
32   nixosTests,
33   pkg-config,
34   polkit,
35   sassc,
36   testers,
37   upower,
38   vala,
39   validatePkgConfig,
40   xfce,
41   wrapGAppsHook3,
42   zenity,
45 stdenv.mkDerivation (finalAttrs: {
46   pname = "budgie-desktop";
47   version = "10.9.2";
49   src = fetchFromGitHub {
50     owner = "BuddiesOfBudgie";
51     repo = "budgie-desktop";
52     rev = "v${finalAttrs.version}";
53     fetchSubmodules = true;
54     hash = "sha256-lDsQlUAa79gnM8wC5pwyquvFyEiayH4W4gD/uyC5Koo=";
55   };
57   outputs = [
58     "out"
59     "dev"
60     "man"
61   ];
63   patches = [ ./plugins.patch ];
65   nativeBuildInputs = [
66     docbook-xsl-nons
67     gtk-doc
68     intltool
69     meson
70     ninja
71     pkg-config
72     vala
73     validatePkgConfig
74     wrapGAppsHook3
75   ];
77   buildInputs = [
78     accountsservice
79     alsa-lib
80     budgie-screensaver
81     glib
82     gnome-desktop
83     gnome-settings-daemon
84     mutter
85     zenity
86     graphene
87     gst_all_1.gstreamer
88     gst_all_1.gst-plugins-base
89     gtk3
90     ibus
91     libcanberra-gtk3
92     libgee
93     libGL
94     libnotify
95     libpulseaudio
96     libuuid
97     libwnck
98     magpie
99     mesa
100     polkit
101     sassc
102     upower
103     xfce.libxfce4windowing
104   ];
106   propagatedBuildInputs = [
107     # budgie-1.0.pc, budgie-raven-plugin-1.0.pc
108     libpeas
109   ];
111   passthru = {
112     providedSessions = [ "budgie-desktop" ];
114     tests = {
115       inherit (nixosTests) budgie;
116       pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
117     };
119     updateScript = nix-update-script { };
120   };
122   meta = {
123     description = "Feature-rich, modern desktop designed to keep out the way of the user";
124     homepage = "https://github.com/BuddiesOfBudgie/budgie-desktop";
125     changelog = "https://github.com/BuddiesOfBudgie/budgie-desktop/releases/tag/v${finalAttrs.version}";
126     license = with lib.licenses; [
127       gpl2Plus
128       lgpl21Plus
129       cc-by-sa-30
130     ];
131     maintainers = lib.teams.budgie.members;
132     platforms = lib.platforms.linux;
133     pkgConfigModules = [
134       "budgie-1.0"
135       "budgie-raven-plugin-1.0"
136       "budgie-theme-1.0"
137     ];
138   };