diff options
Diffstat (limited to 'pkgs/games/opendungeons/default.nix')
-rw-r--r-- | pkgs/games/opendungeons/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/games/opendungeons/default.nix b/pkgs/games/opendungeons/default.nix new file mode 100644 index 00000000000..fe3a381c7f5 --- /dev/null +++ b/pkgs/games/opendungeons/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, ogre, cegui, boost, sfml, openal, cmake, ois }: + +stdenv.mkDerivation rec { + name = "opendungeons-${version}"; + version = "0.6.0"; + + src = fetchurl { + url = "ftp://download.tuxfamily.org/opendungeons/${version}/${name}.tar.xz"; + sha256 = "1g0sjh732794h26cbkr0p96i3c0avm0mx9ip5zbvb2y3sbpjcbib"; + }; + + patches = [ ./cmakepaths.patch ]; + + buildInputs = [ cmake ogre cegui boost sfml openal ois ]; + + meta = with stdenv.lib; { + description = "An open source, real time strategy game sharing game elements with the Dungeon Keeper series and Evil Genius."; + homepage = "https://opendungeons.github.io"; + license = [ licenses.gpl3Plus licenses.zlib licenses.mit licenses.cc-by-sa-30 licenses.cc0 licenses.ofl licenses.cc-by-30 ]; + platforms = platforms.linux; + }; +} |