Xfce updates 2025-05-22 (#409803)

authored by Bobby Rong and committed by GitHub 4e89a9ab 4cd708a9

+155 -79
+2
pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin/default.nix
··· 24 24 hash = "sha256-3uW8wFZrotyVucO0yt1eizuyeYpUoqjYZScIkV/kXVA="; 25 25 }; 26 26 27 + strictDeps = true; 28 + 27 29 nativeBuildInputs = [ 28 30 gettext 29 31 meson
+34 -10
pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin/default.nix
··· 1 1 { 2 + stdenv, 2 3 lib, 3 - mkXfceDerivation, 4 + fetchFromGitLab, 5 + gettext, 6 + meson, 7 + ninja, 8 + pkg-config, 4 9 glib, 5 10 gtk3, 6 11 libxfce4ui, 7 12 libxfce4util, 8 13 xfce4-panel, 14 + gitUpdater, 9 15 }: 10 16 11 - mkXfceDerivation { 12 - category = "panel-plugins"; 17 + stdenv.mkDerivation (finalAttrs: { 13 18 pname = "xfce4-netload-plugin"; 14 - version = "1.4.2"; 15 - rev-prefix = "xfce4-netload-plugin-"; 16 - odd-unstable = false; 17 - sha256 = "sha256-g4pkNzggVjC0AuUnJeleR3RQCrneetjDyv8eCXmrYzI="; 19 + version = "1.5.0"; 20 + 21 + src = fetchFromGitLab { 22 + domain = "gitlab.xfce.org"; 23 + owner = "panel-plugins"; 24 + repo = "xfce4-netload-plugin"; 25 + tag = "xfce4-netload-plugin-${finalAttrs.version}"; 26 + hash = "sha256-iZnfPCOHg0+eo8ubfIsweH2T/DSLeL2Q+giWK/Vkpko="; 27 + }; 28 + 29 + strictDeps = true; 30 + 31 + nativeBuildInputs = [ 32 + gettext 33 + meson 34 + ninja 35 + pkg-config 36 + ]; 18 37 19 38 buildInputs = [ 20 39 glib ··· 24 43 xfce4-panel 25 44 ]; 26 45 27 - meta = with lib; { 46 + passthru.updateScript = gitUpdater { rev-prefix = "xfce4-netload-plugin-"; }; 47 + 48 + meta = { 28 49 description = "Internet load speed plugin for Xfce4 panel"; 29 - teams = [ teams.xfce ]; 50 + homepage = "https://gitlab.xfce.org/panel-plugins/xfce4-netload-plugin"; 51 + license = lib.licenses.gpl2Plus; 52 + teams = [ lib.teams.xfce ]; 53 + platforms = lib.platforms.linux; 30 54 }; 31 - } 55 + })
+32 -11
pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix
··· 1 1 { 2 - mkXfceDerivation, 2 + stdenv, 3 3 lib, 4 + fetchFromGitLab, 5 + gettext, 6 + meson, 7 + ninja, 8 + pkg-config, 4 9 vala, 10 + wrapGAppsHook3, 5 11 glib, 6 12 gtk3, 7 13 gtksourceview4, ··· 9 15 libxfce4util, 10 16 xfce4-panel, 11 17 xfconf, 18 + gitUpdater, 12 19 }: 13 20 14 - mkXfceDerivation { 15 - category = "panel-plugins"; 21 + stdenv.mkDerivation (finalAttrs: { 16 22 pname = "xfce4-notes-plugin"; 17 - version = "1.11.2"; 18 - sha256 = "sha256-qORKaqpLVPIB5t1JtClP3Ey8yBTKY46YsMIc/fGV688="; 19 - odd-unstable = false; 23 + version = "1.12.0"; 24 + 25 + src = fetchFromGitLab { 26 + domain = "gitlab.xfce.org"; 27 + owner = "panel-plugins"; 28 + repo = "xfce4-notes-plugin"; 29 + tag = "xfce4-notes-plugin-${finalAttrs.version}"; 30 + hash = "sha256-q8XQSLhnD7rnRfmNEunc4rKpFSWg9Ja4W7fs5lrnhZ0="; 31 + }; 32 + 33 + strictDeps = true; 20 34 21 35 nativeBuildInputs = [ 36 + gettext 37 + meson 38 + ninja 39 + pkg-config 22 40 vala 41 + wrapGAppsHook3 23 42 ]; 24 43 25 44 buildInputs = [ ··· 32 51 xfconf 33 52 ]; 34 53 35 - meta = with lib; { 54 + passthru.updateScript = gitUpdater { rev-prefix = "xfce4-notes-plugin-"; }; 55 + 56 + meta = { 36 57 homepage = "https://docs.xfce.org/panel-plugins/xfce4-notes-plugin"; 37 58 description = "Sticky notes plugin for Xfce panel"; 38 - license = licenses.gpl2Plus; 39 - platforms = platforms.linux; 40 - teams = [ teams.xfce ]; 59 + license = lib.licenses.gpl2Plus; 60 + platforms = lib.platforms.linux; 61 + teams = [ lib.teams.xfce ]; 41 62 }; 42 - } 63 + })
+28 -31
pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix
··· 3 3 lib, 4 4 fetchurl, 5 5 gettext, 6 + meson, 7 + ninja, 6 8 pkg-config, 9 + wrapGAppsHook3, 10 + glib, 7 11 gtk3, 12 + libX11, 13 + libXext, 8 14 libxfce4ui, 9 15 libxfce4util, 10 16 xfce4-panel, 11 17 libnotify, 12 18 lm_sensors, 13 - hddtemp, 14 - netcat-gnu, 15 19 libXNVCtrl, 16 20 nvidiaSupport ? lib.meta.availableOn stdenv.hostPlatform libXNVCtrl, 17 21 gitUpdater, 18 22 }: 19 23 20 - let 21 - category = "panel-plugins"; 22 - in 23 - 24 - stdenv.mkDerivation rec { 24 + stdenv.mkDerivation (finalAttrs: { 25 25 pname = "xfce4-sensors-plugin"; 26 - version = "1.4.5"; 26 + version = "1.5.0"; 27 27 28 28 src = fetchurl { 29 - url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 30 - sha256 = "sha256-9p/febf3bSqBckgoEkpvznaAOpEipMgt6PPfo++7F5o="; 29 + url = "mirror://xfce/src/panel-plugins/xfce4-sensors-plugin/${lib.versions.majorMinor finalAttrs.version}/xfce4-sensors-plugin-${finalAttrs.version}.tar.xz"; 30 + hash = "sha256-hARCuH/d3NhZW9n4Pqi4H3cf4pa7nSq/Dhl54ghyeuk="; 31 31 }; 32 32 33 + strictDeps = true; 34 + 33 35 nativeBuildInputs = [ 34 36 gettext 37 + meson 38 + ninja 35 39 pkg-config 40 + wrapGAppsHook3 36 41 ]; 37 42 38 43 buildInputs = [ 44 + glib 39 45 gtk3 46 + libX11 47 + libXext 40 48 libxfce4ui 41 49 libxfce4util 42 50 xfce4-panel 43 51 libnotify 44 52 lm_sensors 45 - hddtemp 46 - netcat-gnu 47 53 ] ++ lib.optionals nvidiaSupport [ libXNVCtrl ]; 48 54 49 - enableParallelBuilding = true; 50 - 51 - configureFlags = 52 - [ 53 - "--with-pathhddtemp=${hddtemp}/bin/hddtemp" 54 - "--with-pathnetcat=${netcat-gnu}/bin/netcat" 55 - ] 56 - ++ lib.optionals nvidiaSupport [ 57 - # Have to be explicitly enabled since this tries to figure out the default 58 - # based on the existence of a hardcoded `/usr/include/NVCtrl` path. 59 - "--enable-xnvctrl" 60 - ]; 55 + mesonFlags = [ 56 + (lib.mesonEnable "xnvctrl" nvidiaSupport) 57 + ]; 61 58 62 59 passthru.updateScript = gitUpdater { 63 - url = "https://gitlab.xfce.org/panel-plugins/${pname}"; 64 - rev-prefix = "${pname}-"; 60 + url = "https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin"; 61 + rev-prefix = "xfce4-sensors-plugin-"; 65 62 }; 66 63 67 - meta = with lib; { 64 + meta = { 68 65 homepage = "https://docs.xfce.org/panel-plugins/xfce4-sensors-plugin"; 69 66 description = "Panel plug-in for different sensors using acpi, lm_sensors and hddtemp"; 70 67 mainProgram = "xfce4-sensors"; 71 - license = licenses.gpl2Plus; 72 - platforms = platforms.unix; 73 - teams = [ teams.xfce ]; 68 + license = lib.licenses.gpl2Plus; 69 + platforms = lib.platforms.unix; 70 + teams = [ lib.teams.xfce ]; 74 71 }; 75 - } 72 + })
+23 -14
pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin/default.nix
··· 3 3 stdenv, 4 4 fetchurl, 5 5 gettext, 6 + meson, 7 + ninja, 6 8 pkg-config, 7 9 xfce4-panel, 10 + glib, 11 + gtk3, 8 12 libgtop, 9 13 libxfce4ui, 14 + libxfce4util, 10 15 upower, 11 16 xfconf, 12 17 gitUpdater, 13 18 }: 14 19 15 - let 16 - category = "panel-plugins"; 17 - in 18 - stdenv.mkDerivation rec { 20 + stdenv.mkDerivation (finalAttrs: { 19 21 pname = "xfce4-systemload-plugin"; 20 - version = "1.3.3"; 22 + version = "1.4.0"; 21 23 22 24 src = fetchurl { 23 - url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 24 - sha256 = "sha256-aFLV2cmnTQ4NtYLG9f5zkOvkii61aSF3rhLhxMzG78k="; 25 + url = "mirror://xfce/src/panel-plugins/xfce4-systemload-plugin/${lib.versions.majorMinor finalAttrs.version}/xfce4-systemload-plugin-${finalAttrs.version}.tar.xz"; 26 + hash = "sha256-bjY7z4RbuIMptShY1loexuANtRIa6SRuRusDE12VacY="; 25 27 }; 26 28 29 + strictDeps = true; 30 + 27 31 nativeBuildInputs = [ 28 32 gettext 33 + meson 34 + ninja 29 35 pkg-config 30 36 ]; 31 37 32 38 buildInputs = [ 39 + glib 40 + gtk3 33 41 libgtop 34 42 libxfce4ui 43 + libxfce4util 35 44 upower 36 45 xfce4-panel 37 46 xfconf 38 47 ]; 39 48 40 49 passthru.updateScript = gitUpdater { 41 - url = "https://gitlab.xfce.org/panel-plugins/${pname}"; 42 - rev-prefix = "${pname}-"; 50 + url = "https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin"; 51 + rev-prefix = "xfce4-systemload-plugin-"; 43 52 }; 44 53 45 - meta = with lib; { 54 + meta = { 46 55 homepage = "https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin"; 47 56 description = "System load plugin for Xfce panel"; 48 - license = licenses.bsd2; 49 - platforms = platforms.linux; 50 - teams = [ teams.xfce ]; 57 + license = lib.licenses.bsd2; 58 + platforms = lib.platforms.linux; 59 + teams = [ lib.teams.xfce ]; 51 60 }; 52 - } 61 + })
+36 -13
pkgs/desktops/xfce/panel-plugins/xfce4-time-out-plugin/default.nix
··· 1 1 { 2 + stdenv, 2 3 lib, 3 - mkXfceDerivation, 4 + fetchFromGitLab, 5 + gettext, 6 + meson, 7 + ninja, 8 + pkg-config, 4 9 glib, 5 10 gtk3, 11 + libX11, 6 12 libxfce4ui, 7 13 libxfce4util, 8 14 xfce4-panel, 9 - xfconf, 15 + gitUpdater, 10 16 }: 11 17 12 - mkXfceDerivation { 13 - category = "panel-plugins"; 18 + stdenv.mkDerivation (finalAttrs: { 14 19 pname = "xfce4-time-out-plugin"; 15 - version = "1.1.4"; 16 - rev-prefix = "xfce4-time-out-plugin-"; 17 - odd-unstable = false; 18 - sha256 = "sha256-FYcmeOBSBxcPSm/4j294DSi8XZBTKHvAwTBdj0yCY7o="; 20 + version = "1.2.0"; 21 + 22 + src = fetchFromGitLab { 23 + domain = "gitlab.xfce.org"; 24 + owner = "panel-plugins"; 25 + repo = "xfce4-time-out-plugin"; 26 + tag = "xfce4-time-out-plugin-${finalAttrs.version}"; 27 + hash = "sha256-hyeqSnynsjAeD67oPjQs0ZeLKreXFMZXmvu38zweqrE="; 28 + }; 29 + 30 + strictDeps = true; 31 + 32 + nativeBuildInputs = [ 33 + gettext 34 + meson 35 + ninja 36 + pkg-config 37 + ]; 19 38 20 39 buildInputs = [ 21 40 glib 22 41 gtk3 42 + libX11 23 43 libxfce4ui 24 44 libxfce4util 25 45 xfce4-panel 26 - xfconf 27 46 ]; 28 47 29 - meta = with lib; { 48 + passthru.updateScript = gitUpdater { rev-prefix = "xfce4-time-out-plugin-"; }; 49 + 50 + meta = { 30 51 description = "Panel plug-in to take periodical breaks from the computer"; 31 - license = licenses.gpl2Plus; 32 - teams = [ teams.xfce ]; 52 + homepage = "https://gitlab.xfce.org/panel-plugins/xfce4-time-out-plugin"; 53 + license = lib.licenses.gpl2Plus; 54 + teams = [ lib.teams.xfce ]; 55 + platforms = lib.platforms.linux; 33 56 }; 34 - } 57 + })