Merge pull request #223710 from fgaz/warzone2100/4.3.4
warzone2100: add updateScript, 4.3.3 -> 4.3.4
This commit is contained in:
commit
d6054a9d71
|
@ -31,6 +31,8 @@
|
|||
, warzone2100
|
||||
, nixosTests
|
||||
|
||||
, gitUpdater
|
||||
|
||||
, withVideos ? false
|
||||
}:
|
||||
|
||||
|
@ -44,11 +46,11 @@ in
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit pname;
|
||||
version = "4.3.3";
|
||||
version = "4.3.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/${pname}/releases/${version}/${pname}_src.tar.xz";
|
||||
sha256 = "sha256-PDy5mIYAoQ9VAJCTRMiBqUlRtKIqVHiMuBiozTtH5Z4=";
|
||||
sha256 = "sha256-l4QAF+mTaWi/BNPizqpTPw0KdcrYjw71K+D325/BKdo=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -115,6 +117,10 @@ stdenv.mkDerivation rec {
|
|||
nixosTest = nixosTests.warzone2100;
|
||||
};
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
url = "https://github.com/Warzone2100/warzone2100";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A free RTS game, originally developed by Pumpkin Studios";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue