nixpkgs/pkgs/games/opendungeons/default.nix

27 lines
828 B
Nix
Raw Permalink Normal View History

{ lib, stdenv, fetchFromGitHub, ogre, cegui, boost, sfml, openal, cmake, ois, pkg-config }:
2016-04-23 01:58:51 +00:00
stdenv.mkDerivation rec {
pname = "opendungeons";
2016-12-28 22:09:14 +00:00
version = "0.7.1";
2016-04-23 01:58:51 +00:00
2016-12-28 22:09:14 +00:00
src = fetchFromGitHub {
owner = "OpenDungeons";
repo = "OpenDungeons";
rev = version;
sha256 = "0nipb2h0gn628yxlahjgnfhmpfqa19mjdbj3aqabimdfqds9pryh";
2016-04-23 01:58:51 +00:00
};
patches = [ ./cmakepaths.patch ];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ ogre cegui boost sfml openal ois ];
2019-10-30 11:34:47 +00:00
NIX_LDFLAGS = "-lpthread";
2016-04-23 01:58:51 +00:00
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 ];
2016-04-23 01:58:51 +00:00
platforms = platforms.linux;
};
}