|
| 1 | +{ fetchurl, stdenv, pkgconfig, gettext, python3, SDL, SDL_image, SDL_gfx, SDL_mixer, libogg, libvorbis, lua5_3, libjpeg, libpng, zlib, libiconv }: |
| 2 | + |
| 3 | +let |
| 4 | + version = "0.16.1"; |
| 5 | +in stdenv.mkDerivation rec { |
| 6 | + name = "freedroidrpg-${version}"; |
| 7 | + |
| 8 | + src = fetchurl { |
| 9 | + url = "ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-${stdenv.lib.versions.majorMinor version}/freedroidRPG-${version}.tar.gz"; |
| 10 | + sha256 = "0n4kn38ncmcy3lrxmq8fjry6c1z50z4q1zcqfig0j4jb0dsz2va2"; |
| 11 | + }; |
| 12 | + |
| 13 | + nativeBuildInputs = [ pkgconfig gettext python3 ]; |
| 14 | + |
| 15 | + buildInputs = [ |
| 16 | + SDL SDL_image SDL_gfx SDL_mixer libogg libvorbis lua5_3 libjpeg libpng zlib |
| 17 | + ] ++ stdenv.lib.optional stdenv.isDarwin libiconv; |
| 18 | + |
| 19 | + meta = with stdenv.lib; { |
| 20 | + description = "Isometric 3D RPG similar to game Diablo"; |
| 21 | + |
| 22 | + longDescription = '' |
| 23 | + <para> |
| 24 | + FreedroidRPG is an original isometric 3D role playing game |
| 25 | + taking place in the future, on Earth. It features action and |
| 26 | + dialogs. |
| 27 | + </para> |
| 28 | + <para> |
| 29 | + The game tells the story of a world destroyed by a conflict between |
| 30 | + robots and their human masters. Play as Tux in a quest to save the |
| 31 | + world from the murderous rebel bots who know no mercy. You get to |
| 32 | + choose which path you wish to follow, and freedom of choice is |
| 33 | + everywhere in the game. |
| 34 | + </para> |
| 35 | + <para> |
| 36 | + FreedroidRPG features a real time combat system with melee and |
| 37 | + ranged weapons, fairly similar to the proprietary game Diablo. |
| 38 | + There is an innovative system of programs that can be run in order |
| 39 | + to take control of enemy robots, alter their behavior, or improve one's |
| 40 | + characteristics. You can use over 50 different kinds of items and |
| 41 | + fight countless enemies on your way to your destiny. An advanced |
| 42 | + dialog system provides story background and immersive role |
| 43 | + playing situations. |
| 44 | + </para> |
| 45 | + <para> |
| 46 | + The game is complete, fully playable, and can provide about |
| 47 | + 12 hours of fun. It is still being actively developed, and |
| 48 | + help is welcome in many areas. People having - or trying to acquire - |
| 49 | + programming, map editing, or writing skills will find FreedroidRPG |
| 50 | + to be an exciting, fast-moving project in which they can fully |
| 51 | + express their creativity. |
| 52 | + </para> |
| 53 | + ''; |
| 54 | + |
| 55 | + homepage = http://www.freedroid.org/; |
| 56 | + |
| 57 | + license = licenses.gpl2Plus; |
| 58 | + |
| 59 | + maintainers = with maintainers; [ jtojnar ]; |
| 60 | + platforms = platforms.unix; |
| 61 | + }; |
| 62 | +} |
0 commit comments