mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 17:44:44 +00:00
openttd: 13.4 -> 14.0
openttd: switch fetchurl to fetchzip openttd: remove fetchurl from input args
This commit is contained in:
parent
a4a608e794
commit
f81ed653e1
@ -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.0";
|
||||
|
||||
src = fetchurl {
|
||||
src = fetchzip {
|
||||
url = "https://cdn.openttd.org/openttd-releases/${version}/${pname}-${version}-source.tar.xz";
|
||||
hash = "sha256-Kh3roBv+WOIYiHn0UMP6TzgZJxq0m/NI3WZUXwQNFG8=";
|
||||
hash = "sha256-7wOyP2h5qHNFjdmHf/62W+cAb6C+UEBPswPx48p3AjU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config makeWrapper ];
|
||||
|
Loading…
Reference in New Issue
Block a user