about summary refs log tree commit diff
path: root/pkgs/games/freedink/default.nix
diff options
context:
space:
mode:
authorLudovic Courtès2010-05-02 09:27:51 +0000
committerLudovic Courtès2010-05-02 09:27:51 +0000
commit17a3bcd4d657e36b73beef052c38d8158c2d44bb (patch)
treecc2d69c185377cd70453183aba76506954f70134 /pkgs/games/freedink/default.nix
parent61ec7e828d5c52c6f6d411ed13aebce446b3e35b (diff)
Add GNU FreeDink.
svn path=/nixpkgs/trunk/; revision=21555
Diffstat (limited to 'pkgs/games/freedink/default.nix')
-rw-r--r--pkgs/games/freedink/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/games/freedink/default.nix b/pkgs/games/freedink/default.nix
new file mode 100644
index 000000000000..cb3f032539e0
--- /dev/null
+++ b/pkgs/games/freedink/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx
+, pkgconfig, fontconfig, libzip, zip, zlib }:
+
+stdenv.mkDerivation rec {
+  name = "freedink-1.08.20100420";
+
+  src = fetchurl {
+    url = "mirror://gnu/freedink/${name}.tar.gz";
+    sha256 = "0jw0690k7wgsga74nd8m1c3k34xmzgav6z0hhpx507krw2mkbm90";
+  };
+
+  buildInputs = [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx pkgconfig fontconfig libzip zip zlib] ;
+
+  meta = {
+    description = "GNU FreeDink, a free, portable and enhanced version of the Dink Smallwood game engine. ";
+
+    longDescription =
+      '' GNU FreeDink is a new and portable version of the Dink Smallwood
+	 game engine, which runs the original game as well as its D-Mods,
+	 with close compatibility, under multiple platforms.
+       '';
+
+    homepage = http://www.freedink.org/;
+    license = "GPLv3+";
+
+    maintainers = [ stdenv.lib.maintainers.bjg ];
+    platforms = stdenv.lib.platforms.all;
+  };
+}