From 4ff2543e0316877ee7d7099117f58cda95fceecb Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sat, 27 Oct 2007 17:56:24 +0000 Subject: The Falling Sand Game itself. svn path=/nixpkgs/trunk/; revision=9544 --- pkgs/games/fsg/default.nix | 50 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pkgs/games/fsg/default.nix (limited to 'pkgs/games/fsg/default.nix') diff --git a/pkgs/games/fsg/default.nix b/pkgs/games/fsg/default.nix new file mode 100644 index 000000000000..0922bf2e4c13 --- /dev/null +++ b/pkgs/games/fsg/default.nix @@ -0,0 +1,50 @@ +args: with args; +stdenv.mkDerivation { + name = "fsg-4.4"; + + src = + fetchurl { + url = http://www.piettes.com/fallingsandgame/fsg-src-4.4.tar.gz; + sha256 = "1756y01rkvd3f1pkj88jqh83fqcfl2fy0c48mcq53pjzln9ycv8c"; + }; + + buildInputs =[gtk glib pkgconfig (wxGTK null)]; + +/* +# One day Unicode will overcome? + + preBuild = " + sed -e ' + s/\\(str\\.Printf(\\)\\(\".*\"\\)/\\1_(\\2)/; + s@\\\$out/bin/fsg; + chmod a+x \$out/bin/fsg; + "; + + meta = { + description = " + Falling Sand Game - a cellular automata engine tuned towards the likes of Falling Sand. +"; + }; +} -- cgit v1.2.3