Merge pull request #198115 from trofi/fheroes2-use-gitUpdate
fheroes2: switch to gitUpdater to avoid non-version tags
This commit is contained in:
commit
38164d1660
@ -1,8 +1,7 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub
|
{ stdenv, lib, fetchFromGitHub
|
||||||
, gettext, glibcLocalesUtf8, libpng, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, zlib
|
, gettext, glibcLocalesUtf8, libpng, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, zlib
|
||||||
|
|
||||||
# updater only
|
, gitUpdater
|
||||||
, nix-update-script
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -43,8 +42,8 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = nix-update-script {
|
updateScript = gitUpdater {
|
||||||
attrPath = pname;
|
url = "https://github.com/ihhub/fheroes2.git";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user