21ac09ebdf
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sfml/versions. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 2.5.0 with grep in /nix/store/j708rilms5fpihj454xv4m8yph07v3y5-sfml-2.5.0 - directory tree listing: https://gist.github.com/2efaabd811738a49adb17b7c96980837
31 lines
1.1 KiB
Nix
31 lines
1.1 KiB
Nix
{ stdenv, fetchurl, cmake, libX11, freetype, libjpeg, openal, flac, libvorbis
|
|
, glew, libXrandr, libXrender, udev, xcbutilimage
|
|
}:
|
|
|
|
let
|
|
version = "2.5.0";
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "sfml-${version}";
|
|
src = fetchurl {
|
|
url = "https://github.com/SFML/SFML/archive/${version}.tar.gz";
|
|
sha256 = "1x3yvhdrln5b6h4g5r4mds76gq8zsxw6icxqpwqkmxsqcq5yviab";
|
|
};
|
|
buildInputs = [ cmake libX11 freetype libjpeg openal flac libvorbis glew
|
|
libXrandr libXrender udev xcbutilimage
|
|
];
|
|
cmakeFlags = [ "-DSFML_INSTALL_PKGCONFIG_FILES=yes" ];
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.sfml-dev.org/;
|
|
description = "Simple and fast multimedia library";
|
|
longDescription = ''
|
|
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.
|
|
'';
|
|
license = licenses.zlib;
|
|
maintainers = [ maintainers.astsmtl ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|