about summary refs log tree commit diff
path: root/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix')
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix
index fdd3af5fe402f..1b06566170aef 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix
@@ -1,5 +1,5 @@
 { lib, stdenv, fetchurl, pkg-config, intltool, xfce4-panel, libxfce4ui,
-  exo, gnutls, libgcrypt, xfce }:
+  exo, gnutls, libgcrypt, gitUpdater }:
 
 let
   category = "panel-plugins";
@@ -27,7 +27,10 @@ stdenv.mkDerivation rec {
     libgcrypt
   ];
 
-  passthru.updateScript = xfce.archiveUpdater { inherit category pname version; };
+  passthru.updateScript = gitUpdater {
+    url = "https://gitlab.xfce.org/panel-plugins/${pname}";
+    rev-prefix = "${pname}-";
+  };
 
   meta = with lib; {
     homepage = "https://docs.xfce.org/panel-plugins/xfce4-mailwatch-plugin";