xfce: tailor general update scripts to the xfce packages

This commit is contained in:
José Romildo Malaquias 2020-04-13 18:09:24 -03:00
parent 827a6619eb
commit 8162d76b18

View file

@ -3,6 +3,14 @@
lib.makeScope pkgs.newScope (self: with self; { lib.makeScope pkgs.newScope (self: with self; {
#### NixOS support #### NixOS support
updateScript = callPackage ../../common-updater/update-script.nix { };
gitLister = url:
"${pkgs.common-updater-scripts}/bin/list-git-tags ${url}";
archiveLister = category: name:
"${pkgs.common-updater-scripts}/bin/list-archive-two-level-versions https://archive.xfce.org/src/${category}/${name}";
mkXfceDerivation = callPackage ./mkXfceDerivation.nix { }; mkXfceDerivation = callPackage ./mkXfceDerivation.nix { };
automakeAddFlags = pkgs.makeSetupHook { } ./automakeAddFlags.sh; automakeAddFlags = pkgs.makeSetupHook { } ./automakeAddFlags.sh;