about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-07-08 14:08:09 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-07-08 14:08:09 +0000
commit2d66489e53fe432ca016b8af73a330e1ccc5e152 (patch)
treedade53dd9de1fba8da4e6cc54695107651efa05b /pkgs
parentccc497f80d4bc74f392beca717ea4781a3a60ddd (diff)
downloadnixlib-2d66489e53fe432ca016b8af73a330e1ccc5e152.tar
nixlib-2d66489e53fe432ca016b8af73a330e1ccc5e152.tar.gz
nixlib-2d66489e53fe432ca016b8af73a330e1ccc5e152.tar.bz2
nixlib-2d66489e53fe432ca016b8af73a330e1ccc5e152.tar.lz
nixlib-2d66489e53fe432ca016b8af73a330e1ccc5e152.tar.xz
nixlib-2d66489e53fe432ca016b8af73a330e1ccc5e152.tar.zst
nixlib-2d66489e53fe432ca016b8af73a330e1ccc5e152.zip
Adding the gltron expression I forgot to commit yesterday.
svn path=/nixpkgs/trunk/; revision=22531
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/games/gltron/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/games/gltron/default.nix b/pkgs/games/gltron/default.nix
new file mode 100644
index 000000000000..b58654f1f429
--- /dev/null
+++ b/pkgs/games/gltron/default.nix
@@ -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;
+  };
+}