mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
50417ddb87
- no stable release for over 5 years, switch to unstable (fixes ois include path issue) - update ogre dependency to ogre_1.10 to match cegui's version (fixes crash on init) ZHF: #144627
26 lines
848 B
Nix
26 lines
848 B
Nix
{ lib, stdenv, fetchFromGitHub, ogre, cegui, boost, sfml, openal, cmake, ois, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "opendungeons";
|
|
version = "unstable-2021-11-06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenDungeons";
|
|
repo = "OpenDungeons";
|
|
rev = "c180ed1864eab5fbe847d1dd5c5c936c4e45444e";
|
|
sha256 = "0xf7gkpy8ll1h59wyaljf0hr8prg7p4ixz80mxqwcnm9cglpgn63";
|
|
};
|
|
|
|
patches = [ ./cmakepaths.patch ];
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
buildInputs = [ ogre cegui boost sfml openal ois ];
|
|
|
|
meta = with 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 = with licenses; [ gpl3Plus zlib mit cc-by-sa-30 cc0 ofl cc-by-30 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|