From e3538153b53efaf15c2dd5a636b8d5dca214aeb8 Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Sat, 26 Sep 2015 20:00:36 +0200 Subject: [PATCH] openmw: init at 0.36.1 --- pkgs/games/openmw/default.nix | 34 +++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 pkgs/games/openmw/default.nix diff --git a/pkgs/games/openmw/default.nix b/pkgs/games/openmw/default.nix new file mode 100644 index 000000000000..29e13aa810a5 --- /dev/null +++ b/pkgs/games/openmw/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub, qt4, ogre, mygui, bullet, ffmpeg, boost, cmake, SDL2, unshield, openal, pkgconfig }: + +stdenv.mkDerivation rec { + version = "0.36.1"; + name = "openmw-${version}"; + + mygui_ = mygui.overrideDerivation (oldAttrs: { + name = "mygui-3.2.1"; + version = "3.2.1"; + + src = fetchFromGitHub { + owner = "MyGUI"; + repo = "mygui"; + rev = "MyGUI3.2.1"; + sha256 = "1ic4xwyh2akfpqirrbyvicc56yy2r268rzgcgx16yqb4nrldy2p0"; + }; + }); + + src = fetchFromGitHub { + owner = "OpenMW"; + repo = "openmw"; + rev = name; + sha256 = "0yfiilad6izmingc0nhvkvn6dpybps04xwj4k1h13ymip6awm80x"; + }; + + buildInputs = [ cmake boost ffmpeg qt4 bullet mygui_ ogre SDL2 unshield openal pkgconfig ]; + + meta = { + description = "An unofficial open source engine reimplementation of the game Morrowind"; + homepage = "http://openmw.org"; + license = stdenv.lib.licenses.gpl3; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dd04e23e6ad4..744d914bcade 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13607,6 +13607,8 @@ let oilrush = callPackage ../games/oilrush { }; + openmw = callPackage ../games/openmw { }; + openra = callPackage ../games/openra { lua = lua5_1; }; openttd = callPackage ../games/openttd {