Author: viric
Date: 2010-07-08 14:08:09 +0000 (Thu, 08 Jul 2010)
New Revision: 22531

You can view the changes in this commit at:
   https://svn.nixos.org/viewvc/nix?rev=22531&view=rev

Added:
   nixpkgs/trunk/pkgs/games/gltron/default.nix

Log:
Adding the gltron expression I forgot to commit yesterday.

Changes:

Added: nixpkgs/trunk/pkgs/games/gltron/default.nix
===================================================================
--- nixpkgs/trunk/pkgs/games/gltron/default.nix                         (rev 0)
+++ nixpkgs/trunk/pkgs/games/gltron/default.nix 2010-07-08 14:08:09 UTC (rev 
22531)
@@ -0,0 +1,24 @@
+{stdenv, fetchurl, SDL, mesa, zlib, libpng, libvorbis, libmikmod, SDL_sound } :
+
+stdenv.mkDerivation rec {
+  name = "gltron-0.70";
+  src = fetchurl {
+    url = "mirror://sourceforge/gltron/${name}-source.tar.gz";
+    sha256 = 
"e0c8ebb41a18a1f8d7302a9c2cb466f5b1dd63e9a9966c769075e6b6bdad8bb0";
+  };
+
+  patches = [ ./gentoo-prototypes.patch ];
+
+  # The build fails, unless we disable the default -Wall -Werror
+  configureFlags = "--disable-warn";
+
+  buildInputs = [ SDL mesa zlib libpng libvorbis libmikmod SDL_sound ];
+
+  meta = {
+    homepage = http://www.gltron.org/;
+    description = "Game based on the movie Tron";
+    license = "GPLv2+";
+    maintainers = with stdenv.lib.maintainers; [viric];
+    platforms = with stdenv.lib.platforms; linux;
+  };
+}

_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to