Merge pull request #198115 from trofi/fheroes2-use-gitUpdate

fheroes2: switch to gitUpdater to avoid non-version tags

Changed files
+3 -4
pkgs
games
fheroes2
+3 -4
pkgs/games/fheroes2/default.nix
···
{ stdenv, lib, fetchFromGitHub
, gettext, glibcLocalesUtf8, libpng, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, zlib
-
# updater only
-
, nix-update-script
+
, gitUpdater
}:
stdenv.mkDerivation rec {
···
'';
passthru = {
-
updateScript = nix-update-script {
-
attrPath = pname;
+
updateScript = gitUpdater {
+
url = "https://github.com/ihhub/fheroes2.git";
};
};