From 0b6168c5875d04a0a88c26af684441d8bddc02b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 24 Jan 2009 21:32:25 +0000 Subject: [PATCH] Cairo 1.8.6. svn path=/nixpkgs/trunk/; revision=13835 --- pkgs/development/libraries/cairo/default.nix | 23 ++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/cairo/default.nix b/pkgs/development/libraries/cairo/default.nix index 7f9701fe3dc3..95cfef614a48 100644 --- a/pkgs/development/libraries/cairo/default.nix +++ b/pkgs/development/libraries/cairo/default.nix @@ -8,12 +8,12 @@ assert postscriptSupport -> zlib != null; assert pngSupport -> libpng != null; -stdenv.mkDerivation { - name = "cairo-1.6.4"; +stdenv.mkDerivation rec { + name = "cairo-1.8.6"; src = fetchurl { - url = http://cairographics.org/releases/cairo-1.6.4.tar.gz; - sha1 = "9d990fe39a125ceb07221623c237cd7015855d5c"; + url = "http://cairographics.org/releases/${name}.tar.gz"; + sha256 = "0d9mfwq7r66j85hqjcjavwbn7c8gdaqnahmmiyz5iwpc1jplg8wk"; }; buildInputs = [ @@ -29,6 +29,21 @@ stdenv.mkDerivation { meta = { description = "A 2D graphics library with support for multiple output devices"; + + longDescription = '' + Cairo is a 2D graphics library with support for multiple output + devices. Currently supported output targets include the X + Window System, Quartz, Win32, image buffers, PostScript, PDF, + and SVG file output. Experimental backends include OpenGL + (through glitz), XCB, BeOS, OS/2, and DirectFB. + + Cairo is designed to produce consistent output on all output + media while taking advantage of display hardware acceleration + when available (e.g., through the X Render Extension). + ''; + homepage = http://cairographics.org/; + + licenses = [ "LGPLv2+" "MPLv1" ]; }; }