xfce.xfce4-timer-plugin: 1.7.3 -> 1.8.0

https://gitlab.xfce.org/panel-plugins/xfce4-timer-plugin/-/compare/xfce4-timer-plugin-1.7.3...xfce4-timer-plugin-1.8.0

+17 -19
+17 -19
pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin/default.nix
··· 3 3 stdenv, 4 4 fetchurl, 5 5 gettext, 6 + meson, 7 + ninja, 6 8 pkg-config, 7 9 libxfce4util, 8 10 xfce4-panel, 9 11 libxfce4ui, 10 12 glib, 11 13 gtk3, 12 - hicolor-icon-theme, 13 14 gitUpdater, 14 15 }: 15 16 16 - let 17 - category = "panel-plugins"; 18 - in 19 - 20 - stdenv.mkDerivation rec { 17 + stdenv.mkDerivation (finalAttrs: { 21 18 pname = "xfce4-timer-plugin"; 22 - version = "1.7.3"; 19 + version = "1.8.0"; 23 20 24 21 src = fetchurl { 25 - url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 26 - sha256 = "sha256-rPTIYa+IYIuegCp2pLBYRr0wGJ4AhegmaAzBebbfTNM="; 22 + url = "mirror://xfce/src/panel-plugins/xfce4-timer-plugin/${lib.versions.majorMinor finalAttrs.version}/xfce4-timer-plugin-${finalAttrs.version}.tar.xz"; 23 + hash = "sha256-HTrDqixDRUAMAlZCd452Q6q0EEdiK6+c3AC7rHjon5k="; 27 24 }; 28 25 26 + strictDeps = true; 27 + 29 28 nativeBuildInputs = [ 30 29 gettext 30 + meson 31 + ninja 31 32 pkg-config 32 33 ]; 33 34 ··· 37 38 xfce4-panel 38 39 glib 39 40 gtk3 40 - hicolor-icon-theme 41 41 ]; 42 42 43 - hardeningDisable = [ "format" ]; 44 - 45 43 passthru.updateScript = gitUpdater { 46 - url = "https://gitlab.xfce.org/panel-plugins/${pname}"; 47 - rev-prefix = "${pname}-"; 44 + url = "https://gitlab.xfce.org/panel-plugins/xfce4-timer-plugin"; 45 + rev-prefix = "xfce4-timer-plugin-"; 48 46 }; 49 47 50 - meta = with lib; { 48 + meta = { 51 49 homepage = "https://docs.xfce.org/panel-plugins/xfce4-timer-plugin"; 52 50 description = "Simple countdown and alarm plugin for the Xfce panel"; 53 - platforms = platforms.linux; 54 - license = licenses.gpl2Plus; 55 - teams = [ teams.xfce ]; 51 + platforms = lib.platforms.linux; 52 + license = lib.licenses.gpl2Plus; 53 + teams = [ lib.teams.xfce ]; 56 54 }; 57 - } 55 + })