summary refs log tree commit diff
path: root/pkgs/games/freedroidrpg/default.nix
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-03-05 05:57:47 +0100
committerJan Tojnar <jtojnar@gmail.com>2018-03-05 08:35:12 +0100
commitb19c50cec9dd811b27d6141ecac1ac3b2697b096 (patch)
tree87e7138618446d0f4a269ee3db333fa588423469 /pkgs/games/freedroidrpg/default.nix
parent38373bbbe329dc3287be872b2cc0ff5586788ab7 (diff)
downloadnixpkgs-b19c50cec9dd811b27d6141ecac1ac3b2697b096.tar
nixpkgs-b19c50cec9dd811b27d6141ecac1ac3b2697b096.tar.gz
nixpkgs-b19c50cec9dd811b27d6141ecac1ac3b2697b096.tar.bz2
nixpkgs-b19c50cec9dd811b27d6141ecac1ac3b2697b096.tar.lz
nixpkgs-b19c50cec9dd811b27d6141ecac1ac3b2697b096.tar.xz
nixpkgs-b19c50cec9dd811b27d6141ecac1ac3b2697b096.tar.zst
nixpkgs-b19c50cec9dd811b27d6141ecac1ac3b2697b096.zip
freedroidrpg: init at 0.16.1
Diffstat (limited to 'pkgs/games/freedroidrpg/default.nix')
-rw-r--r--pkgs/games/freedroidrpg/default.nix62
1 files changed, 62 insertions, 0 deletions
diff --git a/pkgs/games/freedroidrpg/default.nix b/pkgs/games/freedroidrpg/default.nix
new file mode 100644
index 00000000000..875af8e0664
--- /dev/null
+++ b/pkgs/games/freedroidrpg/default.nix
@@ -0,0 +1,62 @@
+{ fetchurl, stdenv, pkgconfig, gettext, python3, SDL, SDL_image, SDL_gfx, SDL_mixer, libogg, libvorbis, lua5_3, libjpeg, libpng, zlib, libiconv }:
+
+let
+  version = "0.16.1";
+in stdenv.mkDerivation rec {
+  name = "freedroidrpg-${version}";
+
+  src = fetchurl {
+    url = "ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-${stdenv.lib.versions.majorMinor version}/freedroidRPG-${version}.tar.gz";
+    sha256 = "0n4kn38ncmcy3lrxmq8fjry6c1z50z4q1zcqfig0j4jb0dsz2va2";
+  };
+
+  nativeBuildInputs = [ pkgconfig gettext python3 ];
+
+  buildInputs = [
+    SDL SDL_image SDL_gfx SDL_mixer libogg libvorbis lua5_3 libjpeg libpng zlib
+  ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
+
+  meta = with stdenv.lib; {
+    description = "Isometric 3D RPG similar to game Diablo";
+
+    longDescription = ''
+      <para>
+        FreedroidRPG is an original isometric 3D role playing game
+        taking place in the future, on Earth. It features action and
+        dialogs.
+      </para>
+      <para>
+        The game tells the story of a world destroyed by a conflict between
+        robots and their human masters. Play as Tux in a quest to save the
+        world from the murderous rebel bots who know no mercy. You get to
+        choose which path you wish to follow, and freedom of choice is
+        everywhere in the game.
+      </para>
+      <para>
+        FreedroidRPG features a real time combat system with melee and
+        ranged weapons, fairly similar to the proprietary game Diablo.
+        There is an innovative system of programs that can be run in order
+        to take control of enemy robots, alter their behavior, or improve one's
+        characteristics. You can use over 50 different kinds of items and
+        fight countless enemies on your way to your destiny. An advanced
+        dialog system provides story background and immersive role
+        playing situations.
+      </para>
+      <para>
+        The game is complete, fully playable, and can provide about
+        12 hours of fun. It is still being actively developed, and
+        help is welcome in many areas. People having - or trying to acquire -
+        programming, map editing, or writing skills will find FreedroidRPG
+        to be an exciting, fast-moving project in which they can fully
+        express their creativity.
+      </para>
+    '';
+
+    homepage = http://www.freedroid.org/;
+
+    license = licenses.gpl2Plus;
+
+    maintainers = with maintainers; [ jtojnar ];
+    platforms = platforms.unix;
+  };
+}