diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2021-04-05 16:08:32 +0200 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2021-04-05 16:08:32 +0200 |
commit | 65bfbb80d3353428307ff23f9c350ce9ca2bfbd4 (patch) | |
tree | fc1bc75dada0424d9344e9b475b624badcd10728 /pkgs/games/warzone2100 | |
parent | 9cc8c600c660082a7d789b7645123e3ce7b7936b (diff) |
warzone2100: 3.4.1 -> 4.0.0
Diffstat (limited to 'pkgs/games/warzone2100')
-rw-r--r-- | pkgs/games/warzone2100/default.nix | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/pkgs/games/warzone2100/default.nix b/pkgs/games/warzone2100/default.nix index ce330536b7513..a90f76743d738 100644 --- a/pkgs/games/warzone2100/default.nix +++ b/pkgs/games/warzone2100/default.nix @@ -1,24 +1,19 @@ { lib -, mkDerivation +, stdenv , fetchurl , cmake , ninja -, zip, unzip +, zip , pkg-config , asciidoctor , gettext -, qtbase -, qtscript , SDL2 , libtheora , libvorbis , openal , openalSoft -, glew , physfs -, fribidi -, libXrandr , miniupnpc , libsodium , curl @@ -27,6 +22,9 @@ , harfbuzz , sqlite , which +, vulkan-headers +, vulkan-loader +, shaderc , withVideos ? false }: @@ -39,27 +37,22 @@ let }; in -mkDerivation rec { +stdenv.mkDerivation rec { inherit pname; - version = "3.4.1"; + version = "4.0.0"; src = fetchurl { url = "mirror://sourceforge/${pname}/releases/${version}/${pname}_src.tar.xz"; - sha256 = "0savalmw1kp1sf8vg5aqrl5hc77p4jacxy5y9qj8k2hi2vqdfb7a"; + sha256 = "1d94072yns2xrjpagw1mqq7iyywhwz7vn3lgjdwmbgjy79jzcs1k"; }; buildInputs = [ - qtbase - qtscript SDL2 libtheora libvorbis openal openalSoft - glew physfs - fribidi - libXrandr miniupnpc libsodium curl @@ -67,14 +60,18 @@ mkDerivation rec { freetype harfbuzz sqlite + vulkan-headers + vulkan-loader ]; nativeBuildInputs = [ + pkg-config cmake ninja - zip unzip + zip asciidoctor gettext + shaderc ]; postPatch = '' |