xfce: update src to use new git repository
This commit is contained in:
parent
b5bf9da14d
commit
34de28ed17
@ -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
|
||||
, pname
|
||||
@ -29,8 +29,10 @@ let
|
||||
buildInputs = [ hicolor-icon-theme ];
|
||||
configureFlags = [ "--enable-maintainer-mode" ];
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://git.xfce.org/${category}/${pname}";
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.xfce.org";
|
||||
owner = category;
|
||||
repo = pname;
|
||||
inherit rev sha256;
|
||||
};
|
||||
|
||||
@ -41,11 +43,11 @@ let
|
||||
|
||||
passthru.updateScript = xfce.updateScript {
|
||||
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; {
|
||||
homepage = "https://git.xfce.org/${category}/${pname}/about";
|
||||
homepage = "https://gitlab.xfce.org/${category}/${pname}/about";
|
||||
license = licenses.gpl2; # some libraries are under LGPLv2+
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user