2015-04-19 20:46:51 +00:00
|
|
|
{ stdenv, fetchurl, cmake, libX11, freetype, libjpeg, openal, libsndfile
|
|
|
|
, glew, libXrandr, libXrender, udev
|
2011-03-20 18:21:37 +00:00
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
2015-04-19 20:46:51 +00:00
|
|
|
name = "sfml-2.2";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/LaurentGomila/SFML/archive/2.2.tar.gz";
|
|
|
|
sha256 = "1xbpzkqwgbsjdda7n3c2z5m16bhppz1z9rbhmhb8r1im7s95hd2l";
|
2011-03-20 18:21:37 +00:00
|
|
|
};
|
2015-04-19 20:46:51 +00:00
|
|
|
buildInputs = [ cmake libX11 freetype libjpeg openal libsndfile glew
|
|
|
|
libXrandr libXrender udev
|
2011-03-20 18:21:37 +00:00
|
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.sfml-dev.org/;
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Simple and fast multimedia library";
|
|
|
|
longDescription = ''
|
2015-04-19 20:46:51 +00:00
|
|
|
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.
|
2013-10-06 09:49:53 +00:00
|
|
|
'';
|
2011-03-20 18:21:37 +00:00
|
|
|
license = licenses.zlib;
|
|
|
|
maintainers = [ maintainers.astsmtl ];
|
|
|
|
};
|
|
|
|
}
|