1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/games/opendungeons/default.nix
2016-04-23 17:31:42 -03:00

23 lines
803 B
Nix

{ 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;
};
}