lol
1{ stdenv, fetchFromGitHub, qt4, ogre, mygui, bullet, ffmpeg, boost, cmake, SDL2, unshield, openal, pkgconfig }:
2
3stdenv.mkDerivation rec {
4 version = "0.36.1";
5 name = "openmw-${version}";
6
7 mygui_ = mygui.overrideDerivation (oldAttrs: {
8 name = "mygui-3.2.1";
9 version = "3.2.1";
10
11 src = fetchFromGitHub {
12 owner = "MyGUI";
13 repo = "mygui";
14 rev = "MyGUI3.2.1";
15 sha256 = "1ic4xwyh2akfpqirrbyvicc56yy2r268rzgcgx16yqb4nrldy2p0";
16 };
17 });
18
19 src = fetchFromGitHub {
20 owner = "OpenMW";
21 repo = "openmw";
22 rev = name;
23 sha256 = "0yfiilad6izmingc0nhvkvn6dpybps04xwj4k1h13ymip6awm80x";
24 };
25
26 buildInputs = [ cmake boost ffmpeg qt4 bullet mygui_ ogre SDL2 unshield openal pkgconfig ];
27
28 meta = {
29 description = "An unofficial open source engine reimplementation of the game Morrowind";
30 homepage = "http://openmw.org";
31 license = stdenv.lib.licenses.gpl3;
32 };
33
34}