2011-04-28 21:50:12 +01:00
|
|
|
{ stdenv, fetchgit, cmake, mesa, libX11, freetype, libjpeg, openal, libsndfile
|
2011-03-20 18:21:37 +00:00
|
|
|
, glew, libXrandr, libXrender
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
2011-04-28 21:50:12 +01:00
|
|
|
name = "sfml-git-20110428";
|
|
|
|
src = fetchgit {
|
|
|
|
url = "http://github.com/LaurentGomila/SFML.git";
|
|
|
|
rev = "6eac4256f3be353f51ee";
|
|
|
|
sha256 = "1b4f1901e0e482dbc0ad60e2821af766fb8ce093de51d678918ac2a0fb6e8587";
|
2011-03-20 18:21:37 +00:00
|
|
|
};
|
|
|
|
buildInputs = [ cmake mesa libX11 freetype libjpeg openal libsndfile glew
|
|
|
|
libXrandr libXrender
|
|
|
|
];
|
|
|
|
patchPhase = "
|
|
|
|
substituteInPlace CMakeLists.txt --replace '\${CMAKE_ROOT}/Modules' 'share/cmake-2.8/Modules'
|
|
|
|
";
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.sfml-dev.org/;
|
2013-10-06 10:49:53 +01:00
|
|
|
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.
|
|
|
|
'';
|
2011-03-20 18:21:37 +00:00
|
|
|
license = licenses.zlib;
|
|
|
|
maintainers = [ maintainers.astsmtl ];
|
|
|
|
};
|
|
|
|
}
|