nixpkgs-suyu/pkgs/development/libraries/agg/default.nix
Bjørn Forsman 28ac782583 Some description fixes
There are many more packages to fix, this is just a start.

Rules:
 * Don't repeat the package name (not always that easy...)
 * Start with capital letter
 * Don't end with full stop
 * Don't start with "The ..." or "A ..."

I've also added descriptions to some packages and rewritten others.
2013-10-05 19:36:23 +02:00

36 lines
1.2 KiB
Nix

{ stdenv, fetchurl, autoconf, automake, libtool, pkgconfig
, freetype, SDL, libX11 }:
stdenv.mkDerivation rec {
name = "agg-2.5";
src = fetchurl {
url = "http://www.antigrain.com/${name}.tar.gz";
sha256 = "07wii4i824vy9qsvjsgqxppgqmfdxq0xa87i5yk53fijriadq7mb";
};
buildInputs = [ autoconf automake libtool pkgconfig freetype SDL libX11 ];
# fix build with new automake, from Gentoo ebuild
preConfigure = ''
sed -i '/^AM_C_PROTOTYPES/d' configure.in
sh autogen.sh
'';
configureFlags = "--x-includes=${libX11}/include --x-libraries=${libX11}/lib";
meta = {
description = "High quality rendering engine for C++";
longDescription = ''
Anti-Grain Geometry (AGG) is an Open Source, free of charge
graphic library, written in industrially standard C++. The
terms and conditions of use AGG are described on The License
page. AGG doesn't depend on any graphic API or technology.
Basically, you can think of AGG as of a rendering engine that
produces pixel images in memory from some vectorial data. But
of course, AGG can do much more than that.
'';
license = "GPLv2+";
homepage = http://www.antigrain.com/;
};
}