2016-04-13 03:35:23 +02:00
|
|
|
{ stdenv, fetchFromGitHub, qt4, openscenegraph, mygui, bullet, ffmpeg, boost, cmake, SDL2, unshield, openal
|
|
|
|
, giflib, pkgconfig }:
|
2015-09-26 20:00:36 +02:00
|
|
|
|
2016-04-13 03:35:23 +02:00
|
|
|
let
|
|
|
|
openscenegraph_ = openscenegraph.override {
|
|
|
|
inherit ffmpeg giflib;
|
|
|
|
withApps = false;
|
|
|
|
};
|
|
|
|
openscenegraph__ = openscenegraph_.overrideDerivation (self: {
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenMW";
|
|
|
|
repo = "osg";
|
|
|
|
rev = "a72f43de6e1e4a8191643acb26c3e7138f833798";
|
|
|
|
sha256 = "04x2pjfrdz1kaj4i34zpzrmkk018jnr84rb6z646cz5fin3dapyh";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
in stdenv.mkDerivation rec {
|
2016-04-17 04:24:14 +02:00
|
|
|
version = "0.39.0";
|
2015-09-26 20:00:36 +02:00
|
|
|
name = "openmw-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenMW";
|
|
|
|
repo = "openmw";
|
|
|
|
rev = name;
|
2016-04-17 04:24:14 +02:00
|
|
|
sha256 = "0haz8p0hwzgpj634q34if6x57rkc3zsndry5pz4a25m23sn1i72y";
|
2015-09-26 20:00:36 +02:00
|
|
|
};
|
|
|
|
|
2016-04-11 14:39:09 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-04-13 03:35:23 +02:00
|
|
|
buildInputs = [ cmake boost ffmpeg qt4 bullet mygui openscenegraph__ SDL2 unshield openal pkgconfig ];
|
2015-09-26 20:00:36 +02:00
|
|
|
|
2016-04-12 02:57:42 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-09-26 20:00:36 +02:00
|
|
|
description = "An unofficial open source engine reimplementation of the game Morrowind";
|
|
|
|
homepage = "http://openmw.org";
|
2016-04-12 02:57:42 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2015-09-26 20:00:36 +02:00
|
|
|
};
|
|
|
|
}
|