diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix index 4de8c0f77cda..f9be9c3d68e8 100644 --- a/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix +++ b/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix @@ -1,31 +1,24 @@ -{ lib -, stdenv -, fetchurl -, pkg-config -, intltool -, glib -, gtk3 -, libxfce4ui -, libxfce4util -, xfce4-panel -, xfconf -, gitUpdater +{ + mkXfceDerivation, + lib, + vala, + glib, + gtk3, + libxfce4ui, + libxfce4util, + xfce4-panel, + xfconf, }: -let +mkXfceDerivation { category = "panel-plugins"; -in stdenv.mkDerivation rec { - pname = "xfce4-notes-plugin"; + pname = "xfce4-notes-plugin"; version = "1.11.0"; - - src = fetchurl { - url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; - sha256 = "sha256-6zgkbesPyJU1+p/5uVPHYs7OIytVhdghD6uau/KCquM="; - }; + sha256 = "sha256-hAGgJIZaUjrizuriW2yX4uOKqRxpZ6BiUhnj4u3BOBA="; + odd-unstable = false; nativeBuildInputs = [ - pkg-config - intltool + vala ]; buildInputs = [ @@ -37,11 +30,6 @@ in stdenv.mkDerivation rec { xfconf ]; - 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-notes-plugin"; description = "Sticky notes plugin for Xfce panel";