treewide: no need to pass pname, version and attrPath to update scripts based on generic-updater
This commit is contained in:
parent
f15117a874
commit
01510c7ff3
63 changed files with 29 additions and 80 deletions
|
@ -81,7 +81,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "v";
|
||||
};
|
||||
tests.version = testers.testVersion {
|
||||
|
|
|
@ -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)";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -53,7 +53,6 @@ python3.pkgs.buildPythonApplication rec {
|
|||
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "v";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -55,7 +55,6 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
ignoredVersions = "(alpha|beta|rc).*";
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -76,7 +76,6 @@ python3.pkgs.buildPythonApplication rec {
|
|||
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
ignoredVersions = ''master.*'';
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -71,7 +71,6 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
url = "https://github.com/lwindolf/${pname}";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
|
|
@ -25,7 +25,6 @@ buildGoModule rec {
|
|||
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "v";
|
||||
ignoredVersions = ".(rc|beta).*";
|
||||
};
|
||||
|
|
|
@ -43,7 +43,6 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
ignoredVersions = ''.*\.90\..*'';
|
||||
};
|
||||
|
||||
|
|
|
@ -76,7 +76,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
ignoredVersions = "ci.*";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -69,7 +69,6 @@ mkDerivation rec {
|
|||
];
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
|
|
|
@ -76,7 +76,6 @@ mkDerivation rec {
|
|||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
|
|
|
@ -54,7 +54,6 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
url = "https://git.enlightenment.org/e16/e16";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
|
|
@ -70,7 +70,6 @@ stdenv.mkDerivation rec {
|
|||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -46,7 +46,6 @@ stdenvNoCC.mkDerivation rec {
|
|||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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)";
|
||||
|
|
|
@ -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)";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -74,8 +74,6 @@ python3.pkgs.buildPythonApplication rec {
|
|||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
attrPath = "cinnamon.warpinator";
|
||||
ignoredVersions = "^master.*";
|
||||
};
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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; {
|
||||
|
|
|
@ -23,8 +23,6 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
attrPath = "xfce.${pname}";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -79,7 +79,6 @@ stdenv.mkDerivation rec {
|
|||
NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
ignoredVersions = ".ubuntu.*";
|
||||
};
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -56,7 +56,6 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
|
|
|
@ -122,7 +122,6 @@ stdenv.mkDerivation rec {
|
|||
libinput-module = nixosTests.libinput;
|
||||
};
|
||||
updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
patchlevel-unstable = true;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -40,7 +40,6 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
|
|
|
@ -52,7 +52,6 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
|
|
|
@ -75,8 +75,6 @@ mkDerivation rec {
|
|||
};
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
attrPath = "libsForQt5.mlt";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
|
|
|
@ -58,8 +58,6 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
attrPath = "libsForQt5.${pname}";
|
||||
rev-prefix = "V";
|
||||
};
|
||||
|
||||
|
|
|
@ -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-";
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -22,7 +22,6 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "v";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
passthru.updateScript = gitUpdater { inherit pname version; };
|
||||
passthru.updateScript = gitUpdater { };
|
||||
|
||||
meta = {
|
||||
description = "SCSI Tape Encryption Manager";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -28,8 +28,6 @@ python3Packages.buildPythonApplication rec {
|
|||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit version;
|
||||
pname = "unicode-paracode";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ mkDerivation rec {
|
|||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
rev-prefix = "${pname}-";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue