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}-";
};