depot/third_party/nixpkgs/pkgs/desktops/budgie/budgie-desktop/default.nix
Default email 83627f9931 Project import generated by Copybara.
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
2024-06-24 14:47:55 -04:00

110 lines
1.8 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, accountsservice
, alsa-lib
, budgie-screensaver
, docbook-xsl-nons
, glib
, gnome
, gnome-desktop
, graphene
, gst_all_1
, gtk-doc
, gtk3
, ibus
, intltool
, libcanberra-gtk3
, libgee
, libGL
, libnotify
, libpeas
, libpulseaudio
, libuuid
, libwnck
, magpie
, mesa
, meson
, ninja
, pkg-config
, polkit
, sassc
, upower
, vala
, xfce
, wrapGAppsHook3
}:
stdenv.mkDerivation (finalAttrs: {
pname = "budgie-desktop";
version = "10.9.2";
src = fetchFromGitHub {
owner = "BuddiesOfBudgie";
repo = "budgie-desktop";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-lDsQlUAa79gnM8wC5pwyquvFyEiayH4W4gD/uyC5Koo=";
};
patches = [
./plugins.patch
];
nativeBuildInputs = [
docbook-xsl-nons
gtk-doc
intltool
meson
ninja
pkg-config
vala
wrapGAppsHook3
];
buildInputs = [
accountsservice
alsa-lib
budgie-screensaver
glib
gnome-desktop
gnome.gnome-settings-daemon
gnome.mutter
gnome.zenity
graphene
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gtk3
ibus
libcanberra-gtk3
libgee
libGL
libnotify
libpulseaudio
libuuid
libwnck
magpie
mesa
polkit
sassc
upower
xfce.libxfce4windowing
];
propagatedBuildInputs = [
# budgie-1.0.pc, budgie-raven-plugin-1.0.pc
libpeas
];
passthru.providedSessions = [
"budgie-desktop"
];
meta = {
description = "Feature-rich, modern desktop designed to keep out the way of the user";
homepage = "https://github.com/BuddiesOfBudgie/budgie-desktop";
license = with lib.licenses; [ gpl2Plus lgpl21Plus cc-by-sa-30 ];
platforms = lib.platforms.linux;
maintainers = lib.teams.budgie.members;
};
})