diff options
author | Nicolas Pierron <nicolas.b.pierron@gmail.com> | 2011-08-20 14:30:16 +0000 |
---|---|---|
committer | Nicolas Pierron <nicolas.b.pierron@gmail.com> | 2011-08-20 14:30:16 +0000 |
commit | 3e6f39239dadec0f60f6c24bfe81b3620d2ce503 (patch) | |
tree | d7cbc04fdf104c673d89b9a4b39265f7b7140a02 /pkgs/games | |
parent | 1738fca3855be94cd957a293e19680d4cd31ce92 (diff) | |
download | nixlib-3e6f39239dadec0f60f6c24bfe81b3620d2ce503.tar nixlib-3e6f39239dadec0f60f6c24bfe81b3620d2ce503.tar.gz nixlib-3e6f39239dadec0f60f6c24bfe81b3620d2ce503.tar.bz2 nixlib-3e6f39239dadec0f60f6c24bfe81b3620d2ce503.tar.lz nixlib-3e6f39239dadec0f60f6c24bfe81b3620d2ce503.tar.xz nixlib-3e6f39239dadec0f60f6c24bfe81b3620d2ce503.tar.zst nixlib-3e6f39239dadec0f60f6c24bfe81b3620d2ce503.zip |
Add game freeciv.
svn path=/nixpkgs/trunk/; revision=28711
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/freeciv/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/games/freeciv/default.nix b/pkgs/games/freeciv/default.nix new file mode 100644 index 000000000000..e5602fc1c13d --- /dev/null +++ b/pkgs/games/freeciv/default.nix @@ -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; + }; +} |