Files
nixpkgs/pkgs/by-name/gn/gnome-panel/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

104 lines
2.0 KiB
Nix
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
stdenv,
lib,
fetchurl,
autoreconfHook,
dconf,
evolution-data-server,
gdm,
geocode-glib_2,
gettext,
glib,
gnome-desktop,
gnome-menus,
gnome,
gtk3,
itstool,
libgweather,
libwnck,
libxml2,
pkg-config,
polkit,
systemd,
wrapGAppsHook3,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-panel";
version = "3.56.0";
outputs = [
"out"
"dev"
"man"
];
src = fetchurl {
url = "mirror://gnome/sources/gnome-panel/${lib.versions.majorMinor finalAttrs.version}/gnome-panel-${finalAttrs.version}.tar.xz";
hash = "sha256-UoptZ92E7a5sgKXuZW+E+9lC87Nx1g+XottgZc9P0XA=";
};
patches = [
# Load modules from path in `NIX_GNOME_PANEL_MODULESDIR` environment variable
# instead of gnome-panels libdir so that the NixOS module can make gnome-panel
# load modules from other packages as well.
./modulesdir-env-var.patch
];
preFixup = ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "${gnome-menus}/share"
--prefix XDG_CONFIG_DIRS : "${gnome-menus}/etc/xdg"
)
'';
nativeBuildInputs = [
autoreconfHook
gettext
itstool
libxml2
pkg-config
wrapGAppsHook3
];
buildInputs = [
dconf
evolution-data-server
gdm
geocode-glib_2
glib
gnome-desktop
gnome-menus
gtk3
libgweather
libwnck
polkit
systemd
];
configureFlags = [
"--enable-eds"
];
enableParallelBuilding = true;
doCheck = true;
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-panel";
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
description = "Component of Gnome Flashback that provides panels and default applets for the desktop";
mainProgram = "gnome-panel";
homepage = "https://gitlab.gnome.org/GNOME/gnome-panel";
changelog = "https://gitlab.gnome.org/GNOME/gnome-panel/-/blob/${finalAttrs.version}/NEWS?ref_type=tags";
license = licenses.gpl2Plus;
teams = [ teams.gnome ];
platforms = platforms.linux;
};
})