2009-01-24 21:55:16 +00:00
|
|
|
{ fetchurl, stdenv, pkgconfig, cairo, x11, fontconfig, freetype, libsigcxx }:
|
2008-02-03 13:18:15 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-11-08 20:21:36 +00:00
|
|
|
name = "cairomm-1.11.2";
|
2008-02-03 13:18:15 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://cairographics.org/releases/${name}.tar.gz";
|
2014-11-08 20:21:36 +00:00
|
|
|
sha1 = "35e190a03f760924bece5dc1204cc36b3583c806";
|
2008-02-03 13:18:15 +00:00
|
|
|
};
|
|
|
|
|
2009-10-29 15:26:50 +00:00
|
|
|
buildInputs = [ pkgconfig ];
|
2014-11-08 20:21:36 +00:00
|
|
|
|
2009-01-24 21:55:16 +00:00
|
|
|
propagatedBuildInputs = [ cairo x11 fontconfig freetype libsigcxx ];
|
2008-02-03 13:18:15 +00:00
|
|
|
|
2015-05-27 20:56:04 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-01-24 21:55:16 +00:00
|
|
|
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/;
|
|
|
|
|
2015-05-27 20:56:04 +01:00
|
|
|
license = with licenses; [ lgpl2Plus mpl10 ];
|
2009-01-24 21:55:16 +00:00
|
|
|
};
|
2008-02-03 13:18:15 +00:00
|
|
|
}
|