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