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