Fix powder toy build breaking and change source repository.
This commit is contained in:
parent
3f24867c09
commit
bd35316681
@ -5,18 +5,12 @@ stdenv.mkDerivation rec {
|
|||||||
version = "93.3";
|
version = "93.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "simtr";
|
owner = "ThePowderToy";
|
||||||
repo = "The-Powder-Toy";
|
repo = "The-Powder-Toy";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1n15kgl4qnz55b32ddgmhrv64cl3awbds8arycn7mkf7akwdg1g6";
|
sha256 = "1bg1y13kpqxx4mpncxvmg8w02dyqyd9hl43rwnys3sqrjdm9k02j";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./fix-env.patch ];
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
sed -i 's,lua5.1,lua,g' SConscript
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ scons pkgconfig ];
|
nativeBuildInputs = [ scons pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ SDL lua fftwFloat zlib bzip2 ];
|
buildInputs = [ SDL lua fftwFloat zlib bzip2 ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user