xfce: update src to use new git repository

This commit is contained in:
José Romildo Malaquias 2020-12-27 10:34:29 -03:00
parent b5bf9da14d
commit 34de28ed17

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, pkgconfig, xfce4-dev-tools, hicolor-icon-theme, xfce, wrapGAppsHook }: { stdenv, fetchFromGitLab, pkgconfig, xfce4-dev-tools, hicolor-icon-theme, xfce, wrapGAppsHook }:
{ category { category
, pname , pname
@ -29,8 +29,10 @@ let
buildInputs = [ hicolor-icon-theme ]; buildInputs = [ hicolor-icon-theme ];
configureFlags = [ "--enable-maintainer-mode" ]; configureFlags = [ "--enable-maintainer-mode" ];
src = fetchgit { src = fetchFromGitLab {
url = "git://git.xfce.org/${category}/${pname}"; domain = "gitlab.xfce.org";
owner = category;
repo = pname;
inherit rev sha256; inherit rev sha256;
}; };
@ -41,11 +43,11 @@ let
passthru.updateScript = xfce.updateScript { passthru.updateScript = xfce.updateScript {
inherit pname version attrPath rev-prefix odd-unstable patchlevel-unstable; inherit pname version attrPath rev-prefix odd-unstable patchlevel-unstable;
versionLister = xfce.gitLister src.url; versionLister = xfce.gitLister src.meta.homepage;
}; };
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://git.xfce.org/${category}/${pname}/about"; homepage = "https://gitlab.xfce.org/${category}/${pname}/about";
license = licenses.gpl2; # some libraries are under LGPLv2+ license = licenses.gpl2; # some libraries are under LGPLv2+
platforms = platforms.linux; platforms = platforms.linux;
}; };