diff --git a/pkgs/development/libraries/sfml/default.nix b/pkgs/development/libraries/sfml/default.nix index 7d4ce1616200..480cc81c53c5 100644 --- a/pkgs/development/libraries/sfml/default.nix +++ b/pkgs/development/libraries/sfml/default.nix @@ -1,14 +1,19 @@ -{ stdenv, fetchurl, cmake, libX11, freetype, libjpeg, openal, libsndfile -, glew, libXrandr, libXrender, udev +{ stdenv, fetchurl, cmake, libX11, freetype, libjpeg, openal, flac, libvorbis +, glew, libXrandr, libXrender, udev, xcbutilimage }: + +let + version = "2.3"; +in + stdenv.mkDerivation rec { - name = "sfml-2.2"; + name = "sfml-${version}"; src = fetchurl { - url = "https://github.com/LaurentGomila/SFML/archive/2.2.tar.gz"; - sha256 = "1xbpzkqwgbsjdda7n3c2z5m16bhppz1z9rbhmhb8r1im7s95hd2l"; + url = "https://github.com/LaurentGomila/SFML/archive/${version}.tar.gz"; + sha256 = "12588hfs0pfsv20x3zhq0gdmxv9m7g27i5lfz88303kpglp9yzn2"; }; - buildInputs = [ cmake libX11 freetype libjpeg openal libsndfile glew - libXrandr libXrender udev + buildInputs = [ cmake libX11 freetype libjpeg openal flac libvorbis glew + libXrandr libXrender udev xcbutilimage ]; meta = with stdenv.lib; { homepage = http://www.sfml-dev.org/;