Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
89 lines
1.7 KiB
Nix
89 lines
1.7 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitLab,
|
|
fetchpatch,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
wrapGAppsHook3,
|
|
clutter,
|
|
gettext,
|
|
libXcomposite,
|
|
libXinerama,
|
|
libXdamage,
|
|
libX11,
|
|
libwnck,
|
|
libxfce4ui,
|
|
libxfce4util,
|
|
garcon,
|
|
xfconf,
|
|
gtk3,
|
|
glib,
|
|
gitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "xfdashboard";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.xfce.org";
|
|
owner = "apps";
|
|
repo = "xfdashboard";
|
|
tag = "xfdashboard-${finalAttrs.version}";
|
|
hash = "sha256-D8Tue+45CO5yy7sxealKQoFQZobCiDUzoxCsDksTTxI=";
|
|
};
|
|
|
|
patches = [
|
|
# Exit early if not on X11
|
|
(fetchpatch {
|
|
url = "https://gitlab.xfce.org/apps/xfdashboard/-/commit/7452a7074dfc36c5af42c4105aadaac8656c2f60.patch";
|
|
hash = "sha256-u0djTProV3On0uutg89Q+psgmVGJS768KwiYxZ7dhrE=";
|
|
})
|
|
|
|
# build: Fix version/so_version inversion
|
|
(fetchpatch {
|
|
url = "https://gitlab.xfce.org/apps/xfdashboard/-/commit/20f23e62576d186fada6688af3bb05bc7f223f44.patch";
|
|
hash = "sha256-C2oIBi9tfoQF123Ez3YbFUs8vX2DeYdr3BDc85ExTgQ=";
|
|
})
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
gettext
|
|
glib # glib-genmarshal
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
clutter
|
|
garcon
|
|
glib
|
|
gtk3
|
|
libX11
|
|
libXcomposite
|
|
libXdamage
|
|
libXinerama
|
|
libwnck
|
|
libxfce4ui
|
|
libxfce4util
|
|
xfconf
|
|
];
|
|
|
|
passthru.updateScript = gitUpdater { rev-prefix = "xfdashboard-"; };
|
|
|
|
meta = {
|
|
description = "GNOME shell like dashboard";
|
|
homepage = "https://gitlab.xfce.org/apps/xfdashboard";
|
|
license = lib.licenses.gpl2Plus;
|
|
mainProgram = "xfdashboard";
|
|
teams = [ lib.teams.xfce ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|