Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / bu / budgie-desktop / package.nix
blobe75704944f7ab9ffa24e1e7de583b6c454d4d779
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   accountsservice,
6   alsa-lib,
7   budgie-screensaver,
8   docbook-xsl-nons,
9   glib,
10   gnome,
11   gnome-desktop,
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   ninja,
30   nix-update-script,
31   nixosTests,
32   pkg-config,
33   polkit,
34   sassc,
35   testers,
36   upower,
37   vala,
38   validatePkgConfig,
39   xfce,
40   wrapGAppsHook3,
41   zenity,
44 stdenv.mkDerivation (finalAttrs: {
45   pname = "budgie-desktop";
46   version = "10.9.2";
48   src = fetchFromGitHub {
49     owner = "BuddiesOfBudgie";
50     repo = "budgie-desktop";
51     rev = "v${finalAttrs.version}";
52     fetchSubmodules = true;
53     hash = "sha256-lDsQlUAa79gnM8wC5pwyquvFyEiayH4W4gD/uyC5Koo=";
54   };
56   outputs = [
57     "out"
58     "dev"
59     "man"
60   ];
62   patches = [ ./plugins.patch ];
64   nativeBuildInputs = [
65     docbook-xsl-nons
66     gtk-doc
67     intltool
68     meson
69     ninja
70     pkg-config
71     vala
72     validatePkgConfig
73     wrapGAppsHook3
74   ];
76   buildInputs = [
77     accountsservice
78     alsa-lib
79     budgie-screensaver
80     glib
81     gnome-desktop
82     gnome.gnome-settings-daemon
83     gnome.mutter
84     zenity
85     graphene
86     gst_all_1.gstreamer
87     gst_all_1.gst-plugins-base
88     gtk3
89     ibus
90     libcanberra-gtk3
91     libgee
92     libGL
93     libnotify
94     libpulseaudio
95     libuuid
96     libwnck
97     magpie
98     mesa
99     polkit
100     sassc
101     upower
102     xfce.libxfce4windowing
103   ];
105   propagatedBuildInputs = [
106     # budgie-1.0.pc, budgie-raven-plugin-1.0.pc
107     libpeas
108   ];
110   passthru = {
111     providedSessions = [ "budgie-desktop" ];
113     tests = {
114       inherit (nixosTests) budgie;
115       pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
116     };
118     updateScript = nix-update-script { };
119   };
121   meta = {
122     description = "Feature-rich, modern desktop designed to keep out the way of the user";
123     homepage = "https://github.com/BuddiesOfBudgie/budgie-desktop";
124     changelog = "https://github.com/BuddiesOfBudgie/budgie-desktop/releases/tag/v${finalAttrs.version}";
125     license = with lib.licenses; [
126       gpl2Plus
127       lgpl21Plus
128       cc-by-sa-30
129     ];
130     maintainers = lib.teams.budgie.members;
131     platforms = lib.platforms.linux;
132     pkgConfigModules = [
133       "budgie-1.0"
134       "budgie-raven-plugin-1.0"
135       "budgie-theme-1.0"
136     ];
137   };