2015-09-26 18:52:33 +00:00
|
|
|
{stdenv, fetchFromGitHub, libX11, unzip, ogre, cmake, ois, freetype, libuuid, boost, pkgconfig}:
|
2011-03-30 22:08:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-09-26 18:52:33 +00:00
|
|
|
name = "mygui-${version}";
|
|
|
|
version = "3.2.2";
|
2011-03-30 22:08:33 +00:00
|
|
|
|
2015-09-26 18:52:33 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MyGUI";
|
|
|
|
repo = "mygui";
|
|
|
|
rev = "MyGUI${version}";
|
|
|
|
sha256 = "1wk7jmwm55rhlqqcyvqsxdmwvl70bysl9azh4kd9n57qlmgk3zmw";
|
2011-03-30 22:08:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-09-26 18:52:33 +00:00
|
|
|
buildInputs = [ libX11 unzip ogre cmake ois freetype libuuid boost pkgconfig ];
|
2011-03-30 22:08:33 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://mygui.info/;
|
|
|
|
description = "Library for creating GUIs for games and 3D applications";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl3Plus;
|
2011-03-30 22:08:33 +00:00
|
|
|
};
|
|
|
|
}
|