summary refs log tree commit diff
path: root/pkgs/games/rili/default.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-11-21 16:20:36 +0100
committerPeter Simons <simons@cryp.to>2012-11-21 16:20:36 +0100
commitf67d5a9a39c658ba38ce4efd3968fb76ed97ac70 (patch)
treefb0a753dab894f13519ea969ad7edcfc19e3b56f /pkgs/games/rili/default.nix
parent473ba2212d3b8cc16b5ffb2f5a6367425614357c (diff)
parent9ada368ef842d5bc52d0db0b92ee0217cc213a83 (diff)
downloadnixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.tar
nixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.tar.gz
nixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.tar.bz2
nixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.tar.lz
nixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.tar.xz
nixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.tar.zst
nixlib-f67d5a9a39c658ba38ce4efd3968fb76ed97ac70.zip
Merge branch 'master' into stdenv-updates.
Conflicts have been resolved in:

        pkgs/tools/misc/file/default.nix
        pkgs/top-level/all-packages.nix
        pkgs/top-level/python-packages.nix
Diffstat (limited to 'pkgs/games/rili/default.nix')
-rw-r--r--pkgs/games/rili/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/games/rili/default.nix b/pkgs/games/rili/default.nix
new file mode 100644
index 000000000000..934213279fad
--- /dev/null
+++ b/pkgs/games/rili/default.nix
@@ -0,0 +1,31 @@
+{stdenv, fetchurl, SDL_mixer, SDL, autoconf, automake}:
+
+stdenv.mkDerivation {
+  name = "ri_li-2.0.1"; 
+  
+  src = fetchurl {
+    url = mirror://sourceforge/ri-li/Ri-li-2.0.1.tar.bz2;
+    sha256 = "f71ccc20c37c601358d963e087ac0d524de8c68e96df09c3aac1ae65edd38dbd";
+  };
+
+  patches = [ ./moderinze_cpp.patch ];
+
+  preConfigure = ''
+    export CPPFLAGS="-I${SDL}/include -I${SDL}/include/SDL -I${SDL_mixer}/include"
+    autoreconf -i
+  '';
+  
+  buildInputs = [SDL SDL_mixer autoconf automake];
+  
+  meta = {
+    homepage = http://ri-li.sourceforge.net;
+    license = "GPL2+";
+    description = "A children's train game";
+    longDescription = ''
+     Ri-li is an arcade game licensed under the GPL (General Public License).
+You drive a toy wood engine in many levels and you must collect all the coaches
+to win.
+    '';
+    maintainers = with stdenv.lib.maintainers; [ jcumming ];
+  };
+}