diff --git a/pkgs/desktops/xfce/applications/xfburn/default.nix b/pkgs/desktops/xfce/applications/xfburn/default.nix index 8ebcca1aa114..a3b816c1a65d 100644 --- a/pkgs/desktops/xfce/applications/xfburn/default.nix +++ b/pkgs/desktops/xfce/applications/xfburn/default.nix @@ -1,7 +1,14 @@ { - mkXfceDerivation, + stdenv, lib, + fetchFromGitLab, docbook_xsl, + glib, + libxslt, + meson, + ninja, + pkg-config, + wrapGAppsHook3, exo, gst_all_1, gtk3, @@ -9,24 +16,37 @@ libgudev, libisofs, libxfce4ui, - libxslt, + libxfce4util, + gitUpdater, }: -mkXfceDerivation { - category = "apps"; +stdenv.mkDerivation (finalAttrs: { pname = "xfburn"; - version = "0.7.2"; - odd-unstable = false; + version = "0.8.0"; - sha256 = "sha256-eJ+MxNdJiDTLW4GhrwgQIyFuOSTWsF34Oet9HJAtIqI="; + src = fetchFromGitLab { + domain = "gitlab.xfce.org"; + owner = "apps"; + repo = "xfburn"; + tag = "xfburn-${finalAttrs.version}"; + hash = "sha256-10MjUxy1Ul6CVLdEWFnjppgsI4fAUWqkT2azJBzp0/Q="; + }; + + strictDeps = true; nativeBuildInputs = [ - libxslt docbook_xsl + glib # glib-genmarshal + libxslt # xsltproc + meson + ninja + pkg-config + wrapGAppsHook3 ]; buildInputs = [ exo + glib gst_all_1.gstreamer gst_all_1.gst-plugins-base gtk3 @@ -34,11 +54,17 @@ mkXfceDerivation { libgudev libisofs libxfce4ui + libxfce4util ]; - meta = with lib; { + passthru.updateScript = gitUpdater { rev-prefix = "xfburn-"; }; + + meta = { description = "Disc burner and project creator for Xfce"; + homepage = "https://gitlab.xfce.org/apps/xfburn"; + license = lib.licenses.gpl2Plus; mainProgram = "xfburn"; - teams = [ teams.xfce ]; + teams = [ lib.teams.xfce ]; + platforms = lib.platforms.linux; }; -} +})