From 3f24867c0936843273ba4a559c39eb1bd0fbed1e Mon Sep 17 00:00:00 2001 From: siraben Date: Thu, 3 Jan 2019 19:18:13 +0700 Subject: [PATCH 1/2] Update version of Powder Toy. --- pkgs/games/the-powder-toy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/games/the-powder-toy/default.nix b/pkgs/games/the-powder-toy/default.nix index 6d10b8e2072f..d49d4392c4f1 100644 --- a/pkgs/games/the-powder-toy/default.nix +++ b/pkgs/games/the-powder-toy/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { name = "the-powder-toy-${version}"; - version = "92.5"; + version = "93.3"; src = fetchFromGitHub { owner = "simtr"; From bd353166816387d83d8f7cc3cbfa2d8fc67416fd Mon Sep 17 00:00:00 2001 From: siraben Date: Thu, 3 Jan 2019 19:36:24 +0700 Subject: [PATCH 2/2] Fix powder toy build breaking and change source repository. --- pkgs/games/the-powder-toy/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/games/the-powder-toy/default.nix b/pkgs/games/the-powder-toy/default.nix index d49d4392c4f1..c9637436bcfe 100644 --- a/pkgs/games/the-powder-toy/default.nix +++ b/pkgs/games/the-powder-toy/default.nix @@ -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 ];