treewide: no need to pass pname, version and attrPath to update scripts based on generic-updater

This commit is contained in:
José Romildo 2022-09-27 18:12:05 -03:00
parent f15117a874
commit 01510c7ff3
63 changed files with 29 additions and 80 deletions

View File

@ -81,7 +81,6 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gitUpdater {
inherit pname version;
rev-prefix = "v";
};
tests.version = testers.testVersion {

View File

@ -32,7 +32,7 @@ python3Packages.buildPythonApplication rec {
# sandbox to be disabled.
doCheck = false;
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Fast audio loudness scanner & tagger (ReplayGain v2 / R128)";

View File

@ -96,9 +96,7 @@ python3Packages.buildPythonApplication rec {
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
passthru.updateScript = gitUpdater {
inherit pname version;
};
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "An easy-to-use wineprefix manager";

View File

@ -53,7 +53,6 @@ python3.pkgs.buildPythonApplication rec {
passthru = {
updateScript = gitUpdater {
inherit pname version;
rev-prefix = "v";
};
};

View File

@ -66,7 +66,7 @@ perlPackages.buildPerlPackage rec {
wrapProgram "$out/bin/${pname}" --prefix PERL5LIB : "$PERL5LIB"
'';
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/trizen/fbmenugen";

View File

@ -55,7 +55,6 @@ stdenv.mkDerivation rec {
];
passthru.updateScript = gitUpdater {
inherit pname version;
ignoredVersions = "(alpha|beta|rc).*";
};

View File

@ -53,7 +53,6 @@ stdenv.mkDerivation rec {
installFlags = [ "PREFIX=${placeholder "out"}" ];
passthru.updateScript = gitUpdater {
inherit pname version;
ignoredVersions = "^([^1]|1[^.])"; # ignore anything other than 1.x
url = src.gitRepoUrl;
};

View File

@ -76,7 +76,6 @@ python3.pkgs.buildPythonApplication rec {
passthru = {
updateScript = gitUpdater {
inherit pname version;
ignoredVersions = ''master.*'';
};
};

View File

@ -52,7 +52,7 @@ python3Packages.buildPythonApplication rec {
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
passthru.updateScript = gitUpdater {inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Command line tool that generates XDG menus for several window managers";

View File

@ -71,7 +71,6 @@ stdenv.mkDerivation rec {
'';
passthru.updateScript = gitUpdater {
inherit pname version;
url = "https://github.com/lwindolf/${pname}";
rev-prefix = "v";
};

View File

@ -25,7 +25,6 @@ buildGoModule rec {
passthru = {
updateScript = gitUpdater {
inherit pname version;
rev-prefix = "v";
ignoredVersions = ".(rc|beta).*";
};

View File

@ -43,7 +43,6 @@ stdenv.mkDerivation rec {
'';
passthru.updateScript = gitUpdater {
inherit pname version;
ignoredVersions = ''.*\.90\..*'';
};

View File

@ -76,7 +76,6 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gitUpdater {
inherit pname version;
ignoredVersions = "ci.*";
};
};

View File

@ -41,7 +41,7 @@ buildPythonApplication rec {
pythonImportsCheck = [ "git_review" ];
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Tool to submit code to Gerrit";

View File

@ -69,7 +69,6 @@ mkDerivation rec {
];
passthru.updateScript = gitUpdater {
inherit pname version;
rev-prefix = "v";
};

View File

@ -76,7 +76,6 @@ mkDerivation rec {
'';
passthru.updateScript = gitUpdater {
inherit pname version;
rev-prefix = "v";
};

View File

@ -54,7 +54,6 @@ stdenv.mkDerivation rec {
'';
passthru.updateScript = gitUpdater {
inherit pname version;
url = "https://git.enlightenment.org/e16/e16";
rev-prefix = "v";
};

View File

@ -70,7 +70,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
passthru.updateScript = gitUpdater {
inherit pname version;
rev-prefix = "v";
};

View File

@ -60,7 +60,7 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Colloid icon theme";

View File

@ -46,7 +46,6 @@ stdenvNoCC.mkDerivation rec {
'';
passthru.updateScript = gitUpdater {
inherit pname version;
rev-prefix = "v";
};

View File

@ -44,7 +44,7 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater {inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Icon pack based on marwaita and papirus icons";

View File

@ -34,7 +34,7 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater {inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Numix icon theme (circle version)";

View File

@ -34,7 +34,7 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater {inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Numix icon theme (square version)";

View File

@ -48,7 +48,7 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Numix icon theme";

View File

@ -56,7 +56,7 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Flat colorful design icon theme";

View File

@ -56,7 +56,7 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater {inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Flat and colorful personality icon theme";

View File

@ -64,7 +64,7 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Icon pack flat with light colors";

View File

@ -64,7 +64,7 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "A modern and clean Gtk theme";

View File

@ -34,7 +34,7 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "A clean and concise theme for KDE Plasma desktop";

View File

@ -86,7 +86,7 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Flat Gtk+ theme based on Elegant Design";

View File

@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
gtk-engine-murrine
];
passthru.updateScript = gitUpdater { inherit pname version; rev-prefix = "v"; };
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = with lib; {
description = "Grey and blue theme from the Shimmer Project for GTK-based environments";

View File

@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater {inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "A flat Design theme for KDE Plasma desktop";

View File

@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "GTK theme supporting Budgie, Pantheon, Mate, Xfce4 and GNOME desktops";

View File

@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater {inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "A stylish flat Design theme for GTK based desktop environments";

View File

@ -121,7 +121,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater {inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Mac OSX Mojave like theme for GTK based desktop environments";

View File

@ -36,7 +36,7 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "A flat Design theme for KDE Plasma desktop";

View File

@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Flat Design theme for GTK based desktop environments";

View File

@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
passthru.updateScript = gitUpdater {inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Flat Material Design theme for GTK based desktop environments";

View File

@ -74,8 +74,6 @@ python3.pkgs.buildPythonApplication rec {
'';
passthru.updateScript = gitUpdater {
inherit pname version;
attrPath = "cinnamon.warpinator";
ignoredVersions = "^master.*";
};

View File

@ -34,8 +34,6 @@ stdenv.mkDerivation rec {
extensionPortalSlug = "dash-to-dock";
updateScript = gitUpdater {
pname = "gnomeExtensions.dash-to-dock";
inherit version;
rev-prefix = "extensions.gnome.org-v";
};
};

View File

@ -73,10 +73,7 @@ python3Packages.buildPythonApplication rec {
done
'';
passthru.updateScript = gitUpdater {
inherit pname version;
attrPath = "mate.${pname}";
};
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Tweak tool for the MATE Desktop";

View File

@ -65,10 +65,7 @@ python3Packages.buildPythonApplication rec {
# Disable check because there is no test in the source distribution
doCheck = false;
passthru.updateScript = gitUpdater {
inherit pname version;
rev-prefix = "${pname}-";
};
passthru.updateScript = gitUpdater { rev-prefix = "${pname}-"; };
meta = with lib; {
homepage = "https://docs.xfce.org/apps/catfish/start";

View File

@ -42,7 +42,7 @@ let
pos = builtins.unsafeGetAttrPos "pname" args;
passthru.updateScript = gitUpdater {
inherit pname version attrPath rev-prefix odd-unstable patchlevel-unstable;
inherit rev-prefix odd-unstable patchlevel-unstable;
};
meta = with lib; {

View File

@ -23,8 +23,6 @@ stdenv.mkDerivation rec {
'';
passthru.updateScript = gitUpdater {
inherit pname version;
attrPath = "xfce.${pname}";
rev-prefix = "v";
};

View File

@ -31,10 +31,7 @@ stdenv.mkDerivation rec {
gtk3
];
passthru.updateScript = gitUpdater {
inherit pname version;
attrPath = "xfce.thunar-dropbox-plugin";
};
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/Jeinzi/thunar-dropbox";

View File

@ -79,7 +79,6 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
passthru.updateScript = gitUpdater {
inherit pname version;
ignoredVersions = ".ubuntu.*";
};

View File

@ -23,7 +23,6 @@ stdenv.mkDerivation rec {
];
passthru.updateScript = gitUpdater {
inherit pname version;
# No nicer place to find latest release.
url = "https://git.code.sf.net/p/gnu-efi/code";
};

View File

@ -56,7 +56,6 @@ stdenv.mkDerivation rec {
'';
passthru.updateScript = gitUpdater {
inherit pname version;
rev-prefix = "v";
};

View File

@ -122,7 +122,6 @@ stdenv.mkDerivation rec {
libinput-module = nixosTests.libinput;
};
updateScript = gitUpdater {
inherit pname version;
patchlevel-unstable = true;
};
};

View File

@ -40,7 +40,6 @@ stdenv.mkDerivation rec {
];
passthru.updateScript = gitUpdater {
inherit pname version;
rev-prefix = "v";
};

View File

@ -52,7 +52,6 @@ stdenv.mkDerivation rec {
'';
passthru.updateScript = gitUpdater {
inherit pname version;
rev-prefix = "v";
};

View File

@ -75,8 +75,6 @@ mkDerivation rec {
};
passthru.updateScript = gitUpdater {
inherit pname version;
attrPath = "libsForQt5.mlt";
rev-prefix = "v";
};

View File

@ -58,8 +58,6 @@ stdenv.mkDerivation rec {
'';
passthru.updateScript = gitUpdater {
inherit pname version;
attrPath = "libsForQt5.${pname}";
rev-prefix = "V";
};

View File

@ -79,7 +79,6 @@ stdenv.mkDerivation rec {
doInstallCheck = !stdenv.hostPlatform.isMusl;
passthru.updateScript = gitUpdater {
inherit pname version;
url = "https://sourceware.org/git/elfutils.git";
rev-prefix = "elfutils-";
};

View File

@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-mpers=check" ];
passthru.updateScript = gitUpdater {
inherit pname version;
# No nicer place to find latest release.
url = "https://github.com/strace/strace.git";
rev-prefix = "v";

View File

@ -22,7 +22,6 @@ rustPlatform.buildRustPackage rec {
passthru = {
updateScript = gitUpdater {
inherit pname version;
rev-prefix = "v";
};
};

View File

@ -50,7 +50,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
passthru.updateScript = gitUpdater {
inherit pname version;
# No nicer place to find latest release.
url = "https://git.kernel.org/pub/scm/network/iproute2/iproute2.git";
rev-prefix = "v";

View File

@ -58,7 +58,6 @@ in stdenv.mkDerivation rec {
'';
passthru.updateScript = gitUpdater {
inherit pname version;
# No nicer place to find latest release.
url = "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git";
rev-prefix = "v";

View File

@ -32,7 +32,6 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ (python3.withPackages (p: with p; [ pyelftools ])) ];
passthru.updateScript = gitUpdater {
inherit pname version;
url = "https://anongit.gentoo.org/git/proj/pax-utils.git";
rev-prefix = "v";
};

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook ];
passthru.updateScript = gitUpdater { inherit pname version; };
passthru.updateScript = gitUpdater { };
meta = {
description = "SCSI Tape Encryption Manager";

View File

@ -60,7 +60,6 @@ stdenv.mkDerivation rec {
};
passthru.updateScript = gitUpdater {
inherit pname version;
# No nicer place to find latest release.
url = "https://github.com/kdave/btrfs-progs.git";
rev-prefix = "v";

View File

@ -28,8 +28,6 @@ python3Packages.buildPythonApplication rec {
'';
passthru.updateScript = gitUpdater {
inherit version;
pname = "unicode-paracode";
rev-prefix = "v";
};

View File

@ -22,7 +22,6 @@ mkDerivation rec {
'';
passthru.updateScript = gitUpdater {
inherit pname version;
rev-prefix = "${pname}-";
};