mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
development/libraries/sfml: New nixpkg.
svn path=/nixpkgs/trunk/; revision=26433
This commit is contained in:
parent
7e62d8736c
commit
e54a964632
23
pkgs/development/libraries/sfml/default.nix
Normal file
23
pkgs/development/libraries/sfml/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchsvn, cmake, mesa, libX11, freetype, libjpeg, openal, libsndfile
|
||||
, glew, libXrandr, libXrender
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sfml-svn-${version}";
|
||||
version = "1808";
|
||||
src = fetchsvn {
|
||||
url = "https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2";
|
||||
rev = version;
|
||||
};
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -4048,6 +4048,8 @@ let
|
||||
|
||||
SDL_ttf = callPackage ../development/libraries/SDL_ttf { };
|
||||
|
||||
sfml_svn = callPackage ../development/libraries/sfml { };
|
||||
|
||||
slang = callPackage ../development/libraries/slang { };
|
||||
|
||||
slibGuile = callPackage ../development/libraries/slib {
|
||||
|
Loading…
Reference in New Issue
Block a user