summary refs log tree commit diff
path: root/pkgs/games/armagetronad
diff options
context:
space:
mode:
authorMichiel Leenaars <michiel@staff.isoc.nl>2015-10-31 00:34:20 +0100
committerMichiel Leenaars <michiel@staff.isoc.nl>2015-10-31 00:34:20 +0100
commitd4f643c8458a7a2ae3465a2694114293947ac670 (patch)
tree0c3ce4f7160d5fd12167bb0e7450007d34cff978 /pkgs/games/armagetronad
parent58f9896a43d43d6e61a4ce56c522b3f03926de37 (diff)
downloadnixpkgs-d4f643c8458a7a2ae3465a2694114293947ac670.tar
nixpkgs-d4f643c8458a7a2ae3465a2694114293947ac670.tar.gz
nixpkgs-d4f643c8458a7a2ae3465a2694114293947ac670.tar.bz2
nixpkgs-d4f643c8458a7a2ae3465a2694114293947ac670.tar.lz
nixpkgs-d4f643c8458a7a2ae3465a2694114293947ac670.tar.xz
nixpkgs-d4f643c8458a7a2ae3465a2694114293947ac670.tar.zst
nixpkgs-d4f643c8458a7a2ae3465a2694114293947ac670.zip
Armagetronad: init at version 0.2.8.3.3
Diffstat (limited to 'pkgs/games/armagetronad')
-rw-r--r--pkgs/games/armagetronad/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/games/armagetronad/default.nix b/pkgs/games/armagetronad/default.nix
new file mode 100644
index 00000000000..e70d4c7b596
--- /dev/null
+++ b/pkgs/games/armagetronad/default.nix
@@ -0,0 +1,26 @@
+{stdenv, fetchurl, SDL, libxml2, SDL_image, libjpeg, mesa, zlib} :
+
+let
+  versionMajor = "0.2.8";
+  versionMinor = "3.3";
+  version = "${versionMajor}.${versionMinor}";
+in
+
+stdenv.mkDerivation {
+  name = "armagetron-${version}";
+  src = fetchurl {
+    url = "https://launchpad.net/armagetronad/${versionMajor}/0.2.8.3.x/+download/armagetronad-${version}.src.tar.bz2";
+    sha256 = "1s55irhg60fpmhy8wwxpdq7c45r1mqch6zpicyb2wf9ln60xgwnx";
+  };
+
+  NIX_LDFLAGS = "-lSDL_image";
+
+  configureFlags ="--disable-etc";
+  buildInputs = [SDL SDL_image libxml2 libjpeg mesa zlib];
+
+  meta = {
+    homepage = http://armagetronad.org;
+    description = "An multiplayer networked arcade racing game in 3D similar to Tron";
+    license = stdenv.lib.licenses.gpl2;
+  };
+}