3
0
Fork 0
forked from mirrors/nixpkgs

chocolate-doom: update from 2.1.0 to 2.2.0

This commit is contained in:
Pascal Wittmann 2015-06-10 09:00:47 +02:00
parent 556562173c
commit 7829a2c92e

View file

@ -1,15 +1,14 @@
{ stdenv, autoconf, automake, pkgconfig, SDL, SDL_mixer, SDL_net, fetchurl }:
{ stdenv, autoreconfHook, pkgconfig, SDL, SDL_mixer, SDL_net, fetchurl }:
stdenv.mkDerivation rec {
name = "chocolate-doom-2.1.0";
name = "chocolate-doom-2.2.0";
src = fetchurl {
url = "https://github.com/chocolate-doom/chocolate-doom/archive/${name}.tar.gz";
sha256 = "1qwnc5j3n99jk35c487mxsij04m4kpkqzkbrb8qwqlsnqllyh1s1";
sha256 = "0har8zcg3j41byxc3dx6a00aly8vpysf1q7h2qbw39nlrcghag7b";
};
buildInputs = [ autoconf automake pkgconfig SDL SDL_mixer SDL_net ];
buildInputs = [ autoreconfHook pkgconfig SDL SDL_mixer SDL_net ];
patchPhase = ''
sed -e 's#/games#/bin#g' -i src{,/setup}/Makefile.am
./autogen.sh --prefix=$out
'';
enableParallelBuilding = true;