xfce.xfce4-systemload-plugin: 1.3.3 -> 1.4.0

https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/-/compare/xfce4-systemload-plugin-1.3.3...xfce4-systemload-plugin-1.4.0

+23 -14
+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 + })