nixpkgs-suyu/pkgs/development/libraries/cegui/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
721 B
Nix
Raw Normal View History

2023-01-02 18:37:49 +01:00
{ lib, stdenv, fetchurl, cmake, ogre, freetype, boost, expat, libiconv }:
2016-04-23 04:34:16 +02:00
stdenv.mkDerivation rec {
pname = "cegui";
2016-05-06 21:15:02 +02:00
version = "0.8.7";
2016-04-23 04:34:16 +02:00
src = fetchurl {
url = "mirror://sourceforge/crayzedsgui/${pname}-${version}.tar.bz2";
2016-05-06 21:15:02 +02:00
sha256 = "067562s71kfsnbp2zb2bmq8zj3jk96g5a4rcc5qc3n8nfyayhldk";
2016-04-23 04:34:16 +02:00
};
nativeBuildInputs = [ cmake ];
2023-01-02 18:37:49 +01:00
buildInputs = [ ogre freetype boost expat ]
++ lib.optionals stdenv.isDarwin [ libiconv ];
cmakeFlags = lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-DCMAKE_OSX_ARCHITECTURES=arm64";
2016-04-23 04:34:16 +02:00
meta = with lib; {
homepage = "http://cegui.org.uk/";
2016-04-23 04:34:16 +02:00
description = "C++ Library for creating GUIs";
license = licenses.mit;
2023-01-02 18:37:49 +01:00
platforms = platforms.unix;
2016-04-23 04:34:16 +02:00
};
}