Files
nixpkgs/pkgs/by-name/xf/xfdesktop/package.nix

73 lines
1.3 KiB
Nix

{
stdenv,
lib,
fetchFromGitLab,
gettext,
pkg-config,
xfce4-dev-tools,
wrapGAppsHook3,
xfce4-exo,
gtk3,
libxfce4ui,
libxfce4util,
libxfce4windowing,
libyaml,
xfconf,
libnotify,
garcon,
gtk-layer-shell,
thunar,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xfdesktop";
version = "4.20.2";
src = fetchFromGitLab {
domain = "gitlab.xfce.org";
owner = "xfce";
repo = "xfdesktop";
tag = "xfdesktop-${finalAttrs.version}";
hash = "sha256-LOsfRB4QVb/r2+uHJf4KvRP9akihbhXq82uSp8I7zlI=";
};
nativeBuildInputs = [
gettext
pkg-config
xfce4-dev-tools
wrapGAppsHook3
];
buildInputs = [
xfce4-exo
gtk3
libxfce4ui
libxfce4util
libxfce4windowing
libyaml
xfconf
libnotify
garcon
gtk-layer-shell
thunar
];
configureFlags = [ "--enable-maintainer-mode" ];
enableParallelBuilding = true;
passthru.updateScript = gitUpdater {
rev-prefix = "xfdesktop-";
odd-unstable = true;
};
meta = {
description = "Xfce's desktop manager";
homepage = "https://gitlab.xfce.org/xfce/xfdesktop";
mainProgram = "xfdesktop";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
teams = [ lib.teams.xfce ];
};
})