@@ -6,17 +6,17 @@
66
77let
88 opengfx = fetchzip {
9− url = "https://binaries.openttd.org/extra/opengfx/0.5.5/opengfx-0.5.5-all.zip";
10− sha256 = "065l0g5nawcd6fkfbsfgviwgq9610y7gxzkpmd19i423d0lrq6d8";
9+ url = "https://cdn.openttd.org/opengfx-releases/0.6.0/opengfx-0.6.0-all.zip";
10+ sha256 = "1zg871j6kv7r0aqwca68d9kdf3smclgzan8hj76vj4fyfkykh173";
1111 };
1212
1313 opensfx = fetchzip {
14− url = "https://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-0.2.3-all.zip";
14+ url = "https://cdn.openttd.org/opensfx-releases/0.2.3/opensfx-0.2.3-all.zip";
1515 sha256 = "1bb167kszdd6dqbcdjrxxwab6b7y7jilhzi3qijdhprpm5gf1lp3";
1616 };
1717
1818 openmsx = fetchzip {
19− url = "https://binaries.openttd.org/extra/openmsx/0.3.1/openmsx-0.3.1-all.zip";
19+ url = "https://cdn.openttd.org/openmsx-releases/0.3.1/openmsx-0.3.1-all.zip";
2020 sha256 = "0qnmfzz0v8vxrrvxnm7szphrlrlvhkwn3y92b4iy0b4b6yam0yd4";
2121 };
2222
@@ -29,11 +29,11 @@ let
2929in
3030stdenv.mkDerivation rec {
3131 pname = "openttd";
32− version = "1.9.3";
32+ version = "1.10.0";
3333
3434 src = fetchurl {
35− url = "https://proxy.binaries.openttd.org/openttd-releases/${version}/${pname}-${version}-source.tar.xz";
36− sha256 = "0ijq72kgx997ggw40i5f4a3nf7y2g72z37l47i18yjvgbdzy320r";
35+ url = "https://cdn.openttd.org/openttd-releases/${version}/${pname}-${version}-source.tar.xz";
36+ sha256 = "0lz2y2rjc23k0d97y65cqhy2splw9cmrbvhgz0iqps8xkan1m8hv";
3737 };
3838
3939 nativeBuildInputs = [ pkgconfig makeWrapper ];
@@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
7474 ''}
7575 '';
7676
77− meta = {
77+ meta = with stdenv.lib; {
7878 description = ''Open source clone of the Microprose game "Transport Tycoon Deluxe"'';
7979 longDescription = ''
8080 OpenTTD is a transportation economics simulator. In single player mode,
@@ -86,9 +86,9 @@ stdenv.mkDerivation rec {
8686 - play cooperatively controlling the same business
8787 - observe as spectators
8888 '';
89− homepage = https://www.openttd.org/;
90− license = stdenv.lib.licenses.gpl2;
91− platforms = stdenv.lib.platforms.linux;
92− maintainers = with stdenv.lib.maintainers; [ jcumming the-kenny fpletz ];
89+ homepage = "https://www.openttd.org/";
90+ license = licenses.gpl2;
91+ platforms = platforms.linux;
92+ maintainers = with maintainers; [ jcumming the-kenny fpletz ];
9393 };
9494}