diff options
-rw-r--r-- | pkgs/games/freedink/default.nix | 29 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 5 |
2 files changed, 34 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ab227004e503..29ecf13e6783 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8705,6 +8705,11 @@ let }); */ + freedink = import ../games/freedink { + inherit stdenv fetchurl SDL SDL_mixer SDL_image SDL_ttf SDL_gfx + pkgconfig fontconfig libzip zip zlib; + }; + fsg = import ../games/fsg { inherit stdenv fetchurl pkgconfig mesa; inherit (gtkLibs) glib gtk; |