about summary refs log tree commit diff
path: root/pkgs/development/libraries/mygui/default.nix
blob: 2fa62ced2d5b478022a5cd4e2235081233d5230d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{stdenv, fetchFromGitHub, libX11, unzip, ogre, cmake, ois, freetype, libuuid, boost, pkgconfig}:

stdenv.mkDerivation rec {
  name = "mygui-${version}";
  version = "3.2.2";
  
  src = fetchFromGitHub {
    owner = "MyGUI";
    repo = "mygui";
    rev = "MyGUI${version}";
    sha256 = "1wk7jmwm55rhlqqcyvqsxdmwvl70bysl9azh4kd9n57qlmgk3zmw";
  };

  enableParallelBuilding = true;

  buildInputs = [ libX11 unzip ogre cmake ois freetype libuuid boost pkgconfig ];

  meta = {
    homepage = http://mygui.info/;
    description = "Library for creating GUIs for games and 3D applications";
    license = stdenv.lib.licenses.lgpl3Plus;
  };
}