2016-04-13 02:35:23 +01:00
|
|
|
{ stdenv, fetchFromGitHub, qt4, openscenegraph, mygui, bullet, ffmpeg, boost, cmake, SDL2, unshield, openal
|
2016-08-22 15:18:02 +01:00
|
|
|
, giflib, libXt, pkgconfig }:
|
2015-09-26 19:00:36 +01:00
|
|
|
|
2016-04-13 02:35:23 +01:00
|
|
|
let
|
2016-09-16 17:29:03 +01:00
|
|
|
openscenegraph_ = openscenegraph.overrideDerivation (self: {
|
2016-04-13 02:35:23 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenMW";
|
|
|
|
repo = "osg";
|
2017-09-01 02:18:27 +01:00
|
|
|
rev = "35f1a459a4ab6da9d70427e6539bdf4faae4cc91";
|
|
|
|
sha256 = "1s3a9dpbcc6v8d05pqin4xfv36i2031xpdja1vl8x11cw05fln91";
|
2016-04-13 02:35:23 +01:00
|
|
|
};
|
|
|
|
});
|
|
|
|
in stdenv.mkDerivation rec {
|
2017-09-01 02:18:27 +01:00
|
|
|
version = "0.42.0";
|
2015-09-26 19:00:36 +01:00
|
|
|
name = "openmw-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenMW";
|
|
|
|
repo = "openmw";
|
|
|
|
rev = name;
|
2017-09-01 02:18:27 +01:00
|
|
|
sha256 = "0lj8v81hk807dy0wcdhfp0iyn4l5yag53hx1a6xm44gh2dpyil43";
|
2015-09-26 19:00:36 +01:00
|
|
|
};
|
|
|
|
|
2016-04-11 13:39:09 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-09-16 17:29:03 +01:00
|
|
|
buildInputs = [ cmake boost ffmpeg qt4 bullet mygui openscenegraph_ SDL2 unshield openal pkgconfig libXt ];
|
2015-09-26 19:00:36 +01:00
|
|
|
|
2016-04-12 01:57:42 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-09-26 19:00:36 +01:00
|
|
|
description = "An unofficial open source engine reimplementation of the game Morrowind";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://openmw.org;
|
2016-04-12 01:57:42 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
2016-07-23 11:04:53 +01:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2015-09-26 19:00:36 +01:00
|
|
|
};
|
|
|
|
}
|