From 6a3ce221e24e9302fa2bfe1a51ae34551c7aac46 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 28 May 2025 23:53:04 +0800 Subject: [PATCH] xfce.xfce4-panel-profiles: 1.0.15 -> 1.1.1 https://gitlab.xfce.org/apps/xfce4-panel-profiles/-/compare/xfce4-panel-profiles-1.0.15...xfce4-panel-profiles-1.1.1 --- .../xfce4-panel-profiles/default.nix | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/pkgs/desktops/xfce/applications/xfce4-panel-profiles/default.nix b/pkgs/desktops/xfce/applications/xfce4-panel-profiles/default.nix index 02a0bb707455..88d2741a52f5 100644 --- a/pkgs/desktops/xfce/applications/xfce4-panel-profiles/default.nix +++ b/pkgs/desktops/xfce/applications/xfce4-panel-profiles/default.nix @@ -4,10 +4,14 @@ fetchFromGitLab, gettext, gobject-introspection, + meson, + ninja, + pkg-config, wrapGAppsHook3, glib, gtk3, libxfce4ui, + libxfce4util, python3, gitUpdater, }: @@ -20,19 +24,22 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "xfce4-panel-profiles"; - version = "1.0.15"; + version = "1.1.1"; src = fetchFromGitLab { domain = "gitlab.xfce.org"; owner = "apps"; repo = "xfce4-panel-profiles"; rev = "xfce4-panel-profiles-${finalAttrs.version}"; - sha256 = "sha256-UxXxj0lxJhaMv5cQoyz+glJiLwvIFfpPu27TCNDhoL0="; + hash = "sha256-4sUNlabWp6WpBlePVFHejq/+TXiJYSQTnZFp5B258Wc="; }; nativeBuildInputs = [ gettext gobject-introspection + meson + ninja + pkg-config wrapGAppsHook3 ]; @@ -40,15 +47,13 @@ stdenv.mkDerivation (finalAttrs: { glib gtk3 libxfce4ui + libxfce4util pythonEnv ]; - configurePhase = '' - runHook preConfigure - # This is just a handcrafted script and does not accept additional arguments. - ./configure --prefix=$out - runHook postConfigure - ''; + mesonFlags = [ + "-Dpython-path=${lib.getExe pythonEnv}" + ]; passthru.updateScript = gitUpdater { rev-prefix = "xfce4-panel-profiles-"; };