openttd: 13.4 -> 14.1 (#303969)

* openttd: 13.4 -> 14.0

openttd: switch fetchurl to fetchzip

openttd: remove fetchurl from input args

* openttd: 14.0 -> 14.1
This commit is contained in:
DamitusThyYeetus123 2024-05-24 17:46:32 +10:00 committed by GitHub
parent 8d3b5db8f5
commit 1478fde15f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchzip, cmake, pkg-config
{ lib, stdenv, fetchzip, cmake, pkg-config
, SDL2, libpng, zlib, xz, freetype, fontconfig
, nlohmann_json, curl, icu, harfbuzz, expat, glib, pcre2
, withOpenGFX ? true, withOpenSFX ? true, withOpenMSX ? true
@ -32,11 +32,11 @@ let
in
stdenv.mkDerivation rec {
pname = "openttd";
version = "13.4";
version = "14.1";
src = fetchurl {
src = fetchzip {
url = "https://cdn.openttd.org/openttd-releases/${version}/${pname}-${version}-source.tar.xz";
hash = "sha256-Kh3roBv+WOIYiHn0UMP6TzgZJxq0m/NI3WZUXwQNFG8=";
hash = "sha256-YT4IE/rJ9pnpeMWKbOra6AbSUwW19RwOKlXkxwoMeKY=";
};
nativeBuildInputs = [ cmake pkg-config makeWrapper ];