forked from mirrors/nixpkgs
21e3ff658a
Scilab note: the parameters already had pointed to nonexistent dirs before this set of refactoring. But that config wasn't even used by default.
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{ fetchurl, stdenv, pkgconfig, cairo, xlibsWrapper, fontconfig, freetype, libsigcxx }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "cairomm-1.11.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://cairographics.org/releases/${name}.tar.gz";
|
|
sha1 = "35e190a03f760924bece5dc1204cc36b3583c806";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig ];
|
|
|
|
propagatedBuildInputs = [ cairo xlibsWrapper fontconfig freetype libsigcxx ];
|
|
|
|
meta = with stdenv.lib; {
|
|
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/;
|
|
|
|
license = with licenses; [ lgpl2Plus mpl10 ];
|
|
};
|
|
}
|