Merge pull request from SFrijters/openttd-13

openttd: 12.2 -> 13.0; openttd-jgrpp: 0.47.1 -> 0.50.3
This commit is contained in:
Nick Cao 2023-02-06 19:06:31 +08:00 committed by GitHub
commit c026644769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions
pkgs/games/openttd

View File

@ -29,11 +29,11 @@ let
in
stdenv.mkDerivation rec {
pname = "openttd";
version = "12.2";
version = "13.0";
src = fetchurl {
url = "https://cdn.openttd.org/openttd-releases/${version}/${pname}-${version}-source.tar.xz";
hash = "sha256-gVCPDek6DCZLIW71agX4OB//e/+m0BASGiFJC02s6Vw=";
hash = "sha256-M5344OCCcIfIOv54+O/GpzsKPYqVCgtTE3zm6KrXq2c=";
};
nativeBuildInputs = [ cmake makeWrapper ];
@ -83,6 +83,7 @@ stdenv.mkDerivation rec {
- observe as spectators
'';
homepage = "https://www.openttd.org/";
changelog = "https://cdn.openttd.org/openttd-releases/${version}/changelog.txt";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ jcumming fpletz ];

View File

@ -2,13 +2,13 @@
openttd.overrideAttrs (oldAttrs: rec {
pname = "openttd-jgrpp";
version = "0.47.1";
version = "0.50.3";
src = fetchFromGitHub rec {
owner = "JGRennison";
repo = "OpenTTD-patches";
rev = "jgrpp-${version}";
hash = "sha256-AMd2KXy/ODByeV9CkEd51KbE/+fZ8Us3WzsWCnn7nh0=";
hash = "sha256-VJ8Qd4wiFbX/aY8pEWlh9wEjML0c7P8yrOC1fiQD7ts=";
};
buildInputs = oldAttrs.buildInputs ++ [ zstd ];