Merge pull request #7468 from Balletie/master

Bump SFML to version 2.2, and update MARS game
This commit is contained in:
Arseniy Seroka
2015-04-20 19:18:27 +03:00
4 changed files with 41 additions and 23 deletions

View File

@@ -1,26 +1,22 @@
{ stdenv, fetchgit, cmake, mesa, libX11, freetype, libjpeg, openal, libsndfile
, glew, libXrandr, libXrender
{ stdenv, fetchurl, cmake, libX11, freetype, libjpeg, openal, libsndfile
, glew, libXrandr, libXrender, udev
}:
stdenv.mkDerivation rec {
name = "sfml-git-20110428";
src = fetchgit {
url = "http://github.com/LaurentGomila/SFML.git";
rev = "6eac4256f3be353f51ee";
sha256 = "1b4f1901e0e482dbc0ad60e2821af766fb8ce093de51d678918ac2a0fb6e8587";
name = "sfml-2.2";
src = fetchurl {
url = "https://github.com/LaurentGomila/SFML/archive/2.2.tar.gz";
sha256 = "1xbpzkqwgbsjdda7n3c2z5m16bhppz1z9rbhmhb8r1im7s95hd2l";
};
buildInputs = [ cmake mesa libX11 freetype libjpeg openal libsndfile glew
libXrandr libXrender
buildInputs = [ cmake libX11 freetype libjpeg openal libsndfile glew
libXrandr libXrender udev
];
patchPhase = "
substituteInPlace CMakeLists.txt --replace '\${CMAKE_ROOT}/Modules' 'share/cmake-2.8/Modules'
";
meta = with stdenv.lib; {
homepage = http://www.sfml-dev.org/;
description = "Simple and fast multimedia library";
longDescription = ''
SFML provides a simple interface to the various components of your PC, to
ease the development of games and multimedia applications. It is composed
of five modules: system, window, graphics, audio and network.
SFML is a simple, fast, cross-platform and object-oriented multimedia API.
It provides access to windowing, graphics, audio and network.
It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.
'';
license = licenses.zlib;
maintainers = [ maintainers.astsmtl ];