Author: NicolasPierron
Date: Sat Aug 20 14:30:16 2011
New Revision: 28711
URL: https://svn.nixos.org/websvn/nix/?rev=28711&sc=1

Log:
Add game freeciv.

Added:
   nixpkgs/trunk/pkgs/games/freeciv/
   nixpkgs/trunk/pkgs/games/freeciv/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Added: nixpkgs/trunk/pkgs/games/freeciv/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/games/freeciv/default.nix        Sat Aug 20 14:30:16 
2011        (r28711)
@@ -0,0 +1,30 @@
+{ stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype
+, pkgconfig, fontconfig, libzip, zip, zlib }:
+
+stdenv.mkDerivation rec {
+  name = "freeciv-2.2.7";
+
+  src = fetchurl {
+    url = "mirror://sf/freeciv/${name}.tar.bz2";
+    sha256 = 
"993dd1685dad8012225fdf434673515a194fa072b3d5bfb04952a98fb862d319";
+  };
+
+  buildInputs = [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx freetype pkgconfig 
fontconfig libzip zip zlib] ;
+
+  meta = with stdenv.lib; {
+    description = "multiplayer (or single player), turn-based strategy game.";
+
+    longDescription = ''
+      Freeciv is a Free and Open Source empire-building strategy game
+      inspired by the history of human civilization. The game commences in
+      prehistory and your mission is to lead your tribe from the stone age
+      to the space age...
+    '';
+
+    homepage = http://freeciv.wikia.com/;
+    license = licenses.gpl2;
+
+    maintainers = with maintainers; [ pierron ];
+    platforms = with platforms; all;
+  };
+}

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Sat Aug 20 14:30:09 
2011        (r28710)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Sat Aug 20 14:30:16 
2011        (r28711)
@@ -7585,6 +7585,8 @@
 
   flightgear = callPackage ../games/flightgear {};
 
+  freeciv = callPackage ../games/freeciv { };
+
   freedink = callPackage ../games/freedink { };
 
   fsg = callPackage ../games/fsg {
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to