mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
bd01fad0ed
In line with the Nixpkgs manual. A mechanical change, done with this command: find pkgs -name "*.nix" | \ while read f; do \ sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \ done I manually skipped some: * Descriptions starting with an abbreviation, a user name or package name * Frequently generated expressions (haskell-packages.nix)
32 lines
841 B
Nix
32 lines
841 B
Nix
{stdenv, fetchurl, freetype, mesa}:
|
|
|
|
let
|
|
name = "ftgl-2.1.3-rc5";
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit name;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/ftgl/${name}.tar.gz";
|
|
sha256 = "0nsn4s6vnv5xcgxcw6q031amvh2zfj2smy1r5mbnjj2548hxcn2l";
|
|
};
|
|
|
|
buildInputs = [freetype mesa];
|
|
|
|
meta = {
|
|
homepage = "http://sourceforge.net/apps/mediawiki/ftgl/";
|
|
description = "Font rendering library for OpenGL applications";
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
longDescription = ''
|
|
FTGL is a free cross-platform Open Source C++ library that uses
|
|
Freetype2 to simplify rendering fonts in OpenGL applications. FTGL
|
|
supports bitmaps, pixmaps, texture maps, outlines, polygon mesh,
|
|
and extruded polygon rendering modes.
|
|
'';
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
maintainers = [];
|
|
};
|
|
}
|