Merge pull request #84207 from prusnak/openttd

openttd: 1.9.3 -> 1.10.0
This commit is contained in:
Benjamin Hipple 2020-04-03 21:43:25 -04:00 committed by GitHub
commit d732374eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,17 +6,17 @@
let
opengfx = fetchzip {
url = "https://binaries.openttd.org/extra/opengfx/0.5.5/opengfx-0.5.5-all.zip";
sha256 = "065l0g5nawcd6fkfbsfgviwgq9610y7gxzkpmd19i423d0lrq6d8";
url = "https://cdn.openttd.org/opengfx-releases/0.6.0/opengfx-0.6.0-all.zip";
sha256 = "1zg871j6kv7r0aqwca68d9kdf3smclgzan8hj76vj4fyfkykh173";
};
opensfx = fetchzip {
url = "https://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-0.2.3-all.zip";
url = "https://cdn.openttd.org/opensfx-releases/0.2.3/opensfx-0.2.3-all.zip";
sha256 = "1bb167kszdd6dqbcdjrxxwab6b7y7jilhzi3qijdhprpm5gf1lp3";
};
openmsx = fetchzip {
url = "https://binaries.openttd.org/extra/openmsx/0.3.1/openmsx-0.3.1-all.zip";
url = "https://cdn.openttd.org/openmsx-releases/0.3.1/openmsx-0.3.1-all.zip";
sha256 = "0qnmfzz0v8vxrrvxnm7szphrlrlvhkwn3y92b4iy0b4b6yam0yd4";
};
@ -29,11 +29,11 @@ let
in
stdenv.mkDerivation rec {
pname = "openttd";
version = "1.9.3";
version = "1.10.0";
src = fetchurl {
url = "https://proxy.binaries.openttd.org/openttd-releases/${version}/${pname}-${version}-source.tar.xz";
sha256 = "0ijq72kgx997ggw40i5f4a3nf7y2g72z37l47i18yjvgbdzy320r";
url = "https://cdn.openttd.org/openttd-releases/${version}/${pname}-${version}-source.tar.xz";
sha256 = "0lz2y2rjc23k0d97y65cqhy2splw9cmrbvhgz0iqps8xkan1m8hv";
};
nativeBuildInputs = [ pkgconfig makeWrapper ];
@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
''}
'';
meta = {
meta = with stdenv.lib; {
description = ''Open source clone of the Microprose game "Transport Tycoon Deluxe"'';
longDescription = ''
OpenTTD is a transportation economics simulator. In single player mode,
@ -86,9 +86,9 @@ stdenv.mkDerivation rec {
- play cooperatively controlling the same business
- observe as spectators
'';
homepage = https://www.openttd.org/;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ jcumming the-kenny fpletz ];
homepage = "https://www.openttd.org/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ jcumming the-kenny fpletz ];
};
}