2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ogre, cegui, boost, sfml, openal, cmake, ois, pkg-config }:
|
2016-04-22 18:58:51 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "opendungeons";
|
2016-12-28 14:09:14 -08:00
|
|
|
version = "0.7.1";
|
2016-04-22 18:58:51 -07:00
|
|
|
|
2016-12-28 14:09:14 -08:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenDungeons";
|
|
|
|
repo = "OpenDungeons";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0nipb2h0gn628yxlahjgnfhmpfqa19mjdbj3aqabimdfqds9pryh";
|
2016-04-22 18:58:51 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./cmakepaths.patch ];
|
|
|
|
|
2020-12-30 23:48:55 -08:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ ogre cegui boost sfml openal ois ];
|
2019-10-30 04:34:47 -07:00
|
|
|
NIX_LDFLAGS = "-lpthread";
|
2016-04-22 18:58:51 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-10-10 22:55:05 -07:00
|
|
|
description = "An open source, real time strategy game sharing game elements with the Dungeon Keeper series and Evil Genius";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://opendungeons.github.io";
|
2020-12-30 23:48:55 -08:00
|
|
|
license = with licenses; [ gpl3Plus zlib mit cc-by-sa-30 cc0 ofl cc-by-30 ];
|
2016-04-22 18:58:51 -07:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|