2023-01-11 07:51:40 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, ogre, freetype, boost, expat, libiconv }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cegui";
|
|
|
|
version = "0.8.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/crayzedsgui/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "067562s71kfsnbp2zb2bmq8zj3jk96g5a4rcc5qc3n8nfyayhldk";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2023-01-11 07:51:40 +00:00
|
|
|
buildInputs = [ ogre freetype boost expat ]
|
|
|
|
++ lib.optionals stdenv.isDarwin [ libiconv ];
|
|
|
|
|
|
|
|
cmakeFlags = lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-DCMAKE_OSX_ARCHITECTURES=arm64";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://cegui.org.uk/";
|
|
|
|
description = "C++ Library for creating GUIs";
|
|
|
|
license = licenses.mit;
|
2023-01-11 07:51:40 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|