diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/SDL_gfx/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/SDL_gfx/default.nix | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/nixpkgs/pkgs/development/libraries/SDL_gfx/default.nix b/nixpkgs/pkgs/development/libraries/SDL_gfx/default.nix index 3696e485ad72..f5a3d8635531 100644 --- a/nixpkgs/pkgs/development/libraries/SDL_gfx/default.nix +++ b/nixpkgs/pkgs/development/libraries/SDL_gfx/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, SDL }: +{ lib, stdenv, fetchurl, SDL }: stdenv.mkDerivation rec { pname = "SDL_gfx"; @@ -12,28 +12,28 @@ stdenv.mkDerivation rec { buildInputs = [ SDL ] ; configureFlags = [ "--disable-mmx" ] - ++ stdenv.lib.optional stdenv.isDarwin "--disable-sdltest"; + ++ lib.optional stdenv.isDarwin "--disable-sdltest"; - meta = with stdenv.lib; { + meta = with lib; { description = "SDL graphics drawing primitives and support functions"; - longDescription = - '' The SDL_gfx library evolved out of the SDL_gfxPrimitives code - which provided basic drawing routines such as lines, circles or - polygons and SDL_rotozoom which implemented a interpolating - rotozoomer for SDL surfaces. + longDescription = '' + The SDL_gfx library evolved out of the SDL_gfxPrimitives code + which provided basic drawing routines such as lines, circles or + polygons and SDL_rotozoom which implemented a interpolating + rotozoomer for SDL surfaces. - The current components of the SDL_gfx library are: + The current components of the SDL_gfx library are: - * Graphic Primitives (SDL_gfxPrimitves.h) - * Rotozoomer (SDL_rotozoom.h) - * Framerate control (SDL_framerate.h) - * MMX image filters (SDL_imageFilter.h) - * Custom Blit functions (SDL_gfxBlitFunc.h) + * Graphic Primitives (SDL_gfxPrimitves.h) + * Rotozoomer (SDL_rotozoom.h) + * Framerate control (SDL_framerate.h) + * MMX image filters (SDL_imageFilter.h) + * Custom Blit functions (SDL_gfxBlitFunc.h) - The library is backwards compatible to the above mentioned - code. Its is written in plain C and can be used in C++ code. - ''; + The library is backwards compatible to the above mentioned + code. Its is written in plain C and can be used in C++ code. + ''; homepage = "https://sourceforge.net/projects/sdlgfx/"; license = licenses.zlib; |