3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/sfml/default.nix
Lluís Batlle i Rossell c259379dc9 Getting mars to build. Somehow the fetchsvn in sfml_svn did not work anymore.
svn path=/nixpkgs/trunk/; revision=27037
2011-04-28 20:50:12 +00:00

24 lines
858 B
Nix

{ stdenv, fetchgit, cmake, mesa, libX11, freetype, libjpeg, openal, libsndfile
, glew, libXrandr, libXrender
}:
stdenv.mkDerivation rec {
name = "sfml-git-20110428";
src = fetchgit {
url = "http://github.com/LaurentGomila/SFML.git";
rev = "6eac4256f3be353f51ee";
sha256 = "1b4f1901e0e482dbc0ad60e2821af766fb8ce093de51d678918ac2a0fb6e8587";
};
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/;
description = "A multimedia C++ API that provides access to graphics, input, audio, etc.";
license = licenses.zlib;
maintainers = [ maintainers.astsmtl ];
};
}