3
0
Fork 0
forked from mirrors/nixpkgs

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

fheroes2: switch to gitUpdater to avoid non-version tags
This commit is contained in:
Sergei Trofimovich 2022-10-28 14:24:53 +01:00 committed by GitHub
commit 38164d1660
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,7 @@
{ stdenv, lib, fetchFromGitHub
, gettext, glibcLocalesUtf8, libpng, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, zlib
# updater only
, nix-update-script
, gitUpdater
}:
stdenv.mkDerivation rec {
@ -43,8 +42,8 @@ stdenv.mkDerivation rec {
'';
passthru = {
updateScript = nix-update-script {
attrPath = pname;
updateScript = gitUpdater {
url = "https://github.com/ihhub/fheroes2.git";
};
};