xfce.xfce4-battery-plugin: 1.1.6 -> 1.2.0

https://gitlab.xfce.org/panel-plugins/xfce4-battery-plugin/-/compare/xfce4-battery-plugin-1.1.6...xfce4-battery-plugin-1.2.0

+34 -10
+34 -10
pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin/default.nix
··· 1 { 2 lib, 3 - mkXfceDerivation, 4 glib, 5 gtk3, 6 libxfce4ui, 7 libxfce4util, 8 xfce4-panel, 9 xfconf, 10 }: 11 12 - mkXfceDerivation { 13 - category = "panel-plugins"; 14 pname = "xfce4-battery-plugin"; 15 - version = "1.1.6"; 16 - rev-prefix = "xfce4-battery-plugin-"; 17 - odd-unstable = false; 18 - sha256 = "sha256-tbI4zg6BFsPzREbh/tdFiEbZVXkAsblxzcZdIaQIqa0="; 19 20 buildInputs = [ 21 glib ··· 26 xfconf 27 ]; 28 29 - meta = with lib; { 30 description = "Battery plugin for Xfce panel"; 31 - teams = [ teams.xfce ]; 32 }; 33 - }
··· 1 { 2 + stdenv, 3 lib, 4 + fetchFromGitLab, 5 + gettext, 6 + meson, 7 + ninja, 8 + pkg-config, 9 glib, 10 gtk3, 11 libxfce4ui, 12 libxfce4util, 13 xfce4-panel, 14 xfconf, 15 + gitUpdater, 16 }: 17 18 + stdenv.mkDerivation (finalAttrs: { 19 pname = "xfce4-battery-plugin"; 20 + version = "1.2.0"; 21 + 22 + src = fetchFromGitLab { 23 + domain = "gitlab.xfce.org"; 24 + owner = "panel-plugins"; 25 + repo = "xfce4-battery-plugin"; 26 + tag = "xfce4-battery-plugin-${finalAttrs.version}"; 27 + hash = "sha256-I4x2QRYp6H5mR4J7nQ+VZ/T3r/dj4r4M9JbgN+oZHWQ="; 28 + }; 29 + 30 + strictDeps = true; 31 + 32 + nativeBuildInputs = [ 33 + gettext 34 + meson 35 + ninja 36 + pkg-config 37 + ]; 38 39 buildInputs = [ 40 glib ··· 45 xfconf 46 ]; 47 48 + passthru.updateScript = gitUpdater { rev-prefix = "xfce4-battery-plugin-"; }; 49 + 50 + meta = { 51 description = "Battery plugin for Xfce panel"; 52 + homepage = "https://gitlab.xfce.org/panel-plugins/xfce4-battery-plugin"; 53 + license = lib.licenses.gpl2Plus; 54 + teams = [ lib.teams.xfce ]; 55 + platforms = lib.platforms.linux; 56 }; 57 + })