supertux: bump to version 0.4.0

This commit is contained in:
Sander van der Burg 2015-12-29 23:40:43 +00:00
parent 3a8112f7da
commit ebe4d609ea
1 changed files with 5 additions and 11 deletions

View File

@ -1,25 +1,19 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, SDL2, SDL2_image, SDL2_mixer { stdenv, fetchurl, cmake, pkgconfig, SDL2, SDL2_image, SDL2_mixer
, curl, gettext, libogg, libvorbis, mesa, openal, physfs, boost, glew , curl, gettext, libogg, libvorbis, mesa, openal, physfs, boost, glew
, libiconv }: , libiconv }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "supertux-${version}"; name = "supertux-${version}";
version = "0.3.5a"; version = "0.4.0";
src = fetchFromGitHub { src = fetchurl {
owner = "SuperTux"; url = https://github.com/SuperTux/supertux/releases/download/v0.4.0/supertux-0.4.0.tar.bz2;
repo = "supertux"; sha256 = "10ppmy6w77lxj8bdzjahc9bidgl4qgzr9rimn15rnqay84ydx3fi";
rev = "v${version}";
sha256 = "0f522wsv0gx7v1h70x8xznklaqr5bm2l9h7ls9vjywy0z4iy1ahp";
}; };
buildInputs = [ pkgconfig cmake SDL2 SDL2_image SDL2_mixer curl gettext buildInputs = [ pkgconfig cmake SDL2 SDL2_image SDL2_mixer curl gettext
libogg libvorbis mesa openal physfs boost glew libiconv ]; libogg libvorbis mesa openal physfs boost glew libiconv ];
preConfigure = ''
patchShebangs configure
'';
postInstall = '' postInstall = ''
mkdir $out/bin mkdir $out/bin
ln -s $out/games/supertux2 $out/bin ln -s $out/games/supertux2 $out/bin