14 stdenv.mkDerivation rec {
18 outputs = [ "out" "dev" ];
21 url = "https://www.cairographics.org/releases/cairomm-${version}.tar.xz";
22 sha256 = "R0nSWisu9nzAwBTKr1yH+kZ5L8Sz7eGG+w/JMtIFUVg=";
34 ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
38 propagatedBuildInputs = [
46 description = "A 2D graphics library with support for multiple output devices";
49 Cairo is a 2D graphics library with support for multiple output
50 devices. Currently supported output targets include the X
51 Window System, Quartz, Win32, image buffers, PostScript, PDF,
52 and SVG file output. Experimental backends include OpenGL
53 (through glitz), XCB, BeOS, OS/2, and DirectFB.
55 Cairo is designed to produce consistent output on all output
56 media while taking advantage of display hardware acceleration
57 when available (e.g., through the X Render Extension).
60 homepage = "https://www.cairographics.org/";
62 license = with licenses; [ lgpl2Plus mpl10 ];
63 platforms = platforms.unix;