wargus: 2.4.3 -> 3.3.1

This commit is contained in:
Astro 2022-07-28 17:37:27 +02:00 committed by ehmry
parent 9cfb5c053b
commit eb3ac5a74f
2 changed files with 5 additions and 5 deletions

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
owner = "wargus"; owner = "wargus";
repo = "wargus"; repo = "wargus";
rev = "v${version}"; rev = "v${version}";
sha256 = "0dibm68jxaqzgzcyblfj2bmwyz9v5ax0njnnbvak7xjk1zlh11sx"; sha256 = "sha256-yJeMFxCD0ikwVPQApf+IBuMQ6eOjn1fVKNmqh6r760c=";
}; };
nativeBuildInputs = [ cmake pkg-config makeWrapper ]; nativeBuildInputs = [ cmake pkg-config makeWrapper ];

View file

@ -1,25 +1,25 @@
{ lib, stdenv, fetchFromGitHub { lib, stdenv, fetchFromGitHub
, cmake, pkg-config, makeWrapper , cmake, pkg-config, makeWrapper
, zlib, bzip2, libpng, lua5_1, toluapp , zlib, bzip2, libpng, lua5_1, toluapp
, SDL, SDL_mixer, SDL_image, libGL , SDL2, SDL2_mixer, SDL2_image, libGL
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "stratagus"; pname = "stratagus";
version = "2.4.3"; version = "3.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "wargus"; owner = "wargus";
repo = "stratagus"; repo = "stratagus";
rev = "v${version}"; rev = "v${version}";
sha256 = "128m5n9axq007xi8a002ig7d4dyw8j060542x220ld66ibfprhcn"; sha256 = "sha256-q8AvIWr/bOzI0wV0D2emxIXYEKDYmFxbtwr2BS+xYfA=";
}; };
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ buildInputs = [
zlib bzip2 libpng zlib bzip2 libpng
lua5_1 toluapp lua5_1 toluapp
(lib.getDev SDL) SDL_image SDL_mixer libGL (lib.getDev SDL2) SDL2_image SDL2_mixer libGL
]; ];
cmakeFlags = [ cmakeFlags = [
"-DCMAKE_CXX_FLAGS=-Wno-error=format-overflow" "-DCMAKE_CXX_FLAGS=-Wno-error=format-overflow"