summary refs log tree commit diff
path: root/pkgs/games/liquidwar
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/liquidwar')
-rw-r--r--pkgs/games/liquidwar/5.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/games/liquidwar/5.nix b/pkgs/games/liquidwar/5.nix
new file mode 100644
index 00000000000..ac24f3bac74
--- /dev/null
+++ b/pkgs/games/liquidwar/5.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, allegro }:
+stdenv.mkDerivation rec {
+  version = "5.6.4";
+  name = "liquidwar5-${version}";
+  src = fetchurl {
+    url = "http://download.savannah.gnu.org/releases/liquidwar/liquidwar-${version}.tar.gz";
+    sha256 = "18wkbfzp07yckg05b5gjy67rw06z9lxp0hzg0zwj7rz8i12jxi9j";
+  };
+
+   buildInputs = [
+     allegro
+   ];
+
+   configureFlags = 
+     (stdenv.lib.optional stdenv.isx86_64 "--disable-asm")
+     ;
+
+   meta = with stdenv.lib; {
+     description = ''The classic version of a quick tactics game LiquidWar'';
+     maintainers = [ maintainers.raskin ];
+     license = licenses.gpl2Plus;
+     platforms = platforms.linux;
+   };
+}