diff options
Diffstat (limited to 'nixpkgs/pkgs/games/warzone2100/default.nix')
-rw-r--r-- | nixpkgs/pkgs/games/warzone2100/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/games/warzone2100/default.nix b/nixpkgs/pkgs/games/warzone2100/default.nix index 3d7be936f1bc..1f6e2995a2ae 100644 --- a/nixpkgs/pkgs/games/warzone2100/default.nix +++ b/nixpkgs/pkgs/games/warzone2100/default.nix @@ -1,5 +1,5 @@ -{ stdenv, mkDerivation, fetchurl, autoconf, automake -, perl, unzip, zip, which, pkgconfig, qtbase, qtscript +{ lib, stdenv, mkDerivation, fetchurl, autoconf, automake +, perl, unzip, zip, which, pkg-config, qtbase, qtscript , SDL2, libtheora, openal, glew, physfs, fribidi, libXrandr , withVideos ? false }: @@ -26,7 +26,7 @@ mkDerivation rec { glew physfs fribidi libXrandr ]; nativeBuildInputs = [ - perl zip unzip pkgconfig autoconf automake + perl zip unzip pkg-config autoconf automake ]; preConfigure = "./autogen.sh"; @@ -44,10 +44,10 @@ mkDerivation rec { enableParallelBuilding = true; - postInstall = stdenv.lib.optionalString withVideos + postInstall = lib.optionalString withVideos "cp ${sequences_src} $out/share/warzone2100/sequences.wz"; - meta = with stdenv.lib; { + meta = with lib; { description = "A free RTS game, originally developed by Pumpkin Studios"; longDescription = '' Warzone 2100 is an open source real-time strategy and real-time tactics |