Fix powder toy build breaking and change source repository.

This commit is contained in:
siraben 2019-01-03 19:36:24 +07:00
parent 3f24867c09
commit bd35316681

View File

@ -5,18 +5,12 @@ stdenv.mkDerivation rec {
version = "93.3";
src = fetchFromGitHub {
owner = "simtr";
owner = "ThePowderToy";
repo = "The-Powder-Toy";
rev = "v${version}";
sha256 = "1n15kgl4qnz55b32ddgmhrv64cl3awbds8arycn7mkf7akwdg1g6";
sha256 = "1bg1y13kpqxx4mpncxvmg8w02dyqyd9hl43rwnys3sqrjdm9k02j";
};
patches = [ ./fix-env.patch ];
postPatch = ''
sed -i 's,lua5.1,lua,g' SConscript
'';
nativeBuildInputs = [ scons pkgconfig ];
buildInputs = [ SDL lua fftwFloat zlib bzip2 ];