Files
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

85 lines
1.7 KiB
Nix

{
lib,
stdenv,
fetchurl,
gettext,
itstool,
libxml2,
pkg-config,
gnome-panel,
gtk3,
glib,
libwnck,
libgtop,
libnotify,
upower,
wirelesstools,
linuxPackages,
adwaita-icon-theme,
libgweather,
gucharmap,
tinysparql,
polkit,
gnome,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-applets";
version = "3.56.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-applets/${lib.versions.majorMinor finalAttrs.version}/gnome-applets-${finalAttrs.version}.tar.xz";
hash = "sha256-+heu3JVa3ZgaouQ7TAcTU/aGu9HuwdcXqJCnNTIK0XE=";
};
nativeBuildInputs = [
gettext
glib # glib-compile-resources
itstool
pkg-config
libxml2
];
buildInputs = [
gnome-panel
gtk3
glib
libxml2
libwnck
libgtop
libnotify
upower
adwaita-icon-theme
libgweather
gucharmap
tinysparql
polkit
wirelesstools
linuxPackages.cpupower
];
enableParallelBuilding = true;
doCheck = true;
# Don't try to install modules to gnome panel's directory, as it's read only
PKG_CONFIG_LIBGNOME_PANEL_MODULESDIR = "${placeholder "out"}/lib/gnome-panel/modules";
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-applets";
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
description = "Applets for use with the GNOME panel";
mainProgram = "cpufreq-selector";
homepage = "https://gitlab.gnome.org/GNOME/gnome-applets";
changelog = "https://gitlab.gnome.org/GNOME/gnome-applets/-/blob/${finalAttrs.version}/NEWS?ref_type=tags";
license = licenses.gpl2Plus;
teams = [ teams.gnome ];
platforms = platforms.linux;
};
})