1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/games/openmw/default.nix

36 lines
1.1 KiB
Nix
Raw Normal View History

{ 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
let
2016-09-16 17:29:03 +01:00
openscenegraph_ = openscenegraph.overrideDerivation (self: {
src = fetchFromGitHub {
owner = "OpenMW";
repo = "osg";
2016-07-23 11:04:53 +01:00
rev = "c0adcc0b43f37931ccb70e3e2b4227c4a86cfaaf";
sha256 = "12nrpayms0jl2knkv4kax93si1510hjyl1g3i1b73ydnzhvr3x02";
};
});
in stdenv.mkDerivation rec {
2016-09-15 02:33:49 +01:00
version = "0.40.0";
2015-09-26 19:00:36 +01:00
name = "openmw-${version}";
src = fetchFromGitHub {
owner = "OpenMW";
repo = "openmw";
rev = name;
2016-09-15 02:33:49 +01:00
sha256 = "0mqd4gpwvczwqfkw5zvnw7cl1nzv9lkiqq2yc2a0qasaby8qv94w";
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";
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
};
}