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