2016-12-28 23:09:14 +01:00
|
|
|
{ stdenv, fetchFromGitHub, ogre, cegui, boost, sfml, openal, cmake, ois, pkgconfig }:
|
2016-04-23 03:58:51 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "opendungeons-${version}";
|
2016-12-28 23:09:14 +01:00
|
|
|
version = "0.7.1";
|
2016-04-23 03:58:51 +02:00
|
|
|
|
2016-12-28 23:09:14 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenDungeons";
|
|
|
|
repo = "OpenDungeons";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0nipb2h0gn628yxlahjgnfhmpfqa19mjdbj3aqabimdfqds9pryh";
|
2016-04-23 03:58:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./cmakepaths.patch ];
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ cmake ogre cegui boost sfml openal ois ];
|
2019-01-04 20:33:50 +01:00
|
|
|
NIX_LDFLAGS = [
|
|
|
|
"-lpthread"
|
|
|
|
];
|
2016-04-23 03:58:51 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An open source, real time strategy game sharing game elements with the Dungeon Keeper series and Evil Genius.";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://opendungeons.github.io;
|
2016-04-23 03:58:51 +02:00
|
|
|
license = [ licenses.gpl3Plus licenses.zlib licenses.mit licenses.cc-by-sa-30 licenses.cc0 licenses.ofl licenses.cc-by-30 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|