1 { lib, stdenv, fetchFromGitHub, cmake, sfml }:
10 src = fetchFromGitHub {
14 sha256 = "071magxif5nrdddzk2z34czqmz1dfws4d7dqynb2zpn7cwhwxcpm";
16 nativeBuildInputs = [ cmake ];
17 buildInputs = [ sfml ];
18 cmakeFlags = [ "-DCMAKE_MODULE_PATH=${sfml}/share/SFML/cmake/Modules/" ];
21 homepage = "https://www.sfml-dev.org/";
22 description = "Simple and fast multimedia library";
24 SFML is a simple, fast, cross-platform and object-oriented multimedia API.
25 It provides access to windowing, graphics, audio and network.
26 It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.
28 license = licenses.zlib;
29 maintainers = [ maintainers.jpdoyle ];
30 platforms = platforms.linux;