nixpkgs/pkgs/development/libraries/pixman/default.nix
Vladimír Čunát 2a1cd6433b pixman: major update 0.30.2 -> 0.32.2
This is new major release with performance improvements for image scaling,
and a large number of bug fixes.
2013-11-17 13:44:40 +01:00

23 lines
596 B
Nix

{ fetchurl, stdenv, pkgconfig, perl, withPNG ? true, libpng, glib /*just passthru*/ }:
stdenv.mkDerivation rec {
name = "pixman-0.32.2";
src = fetchurl {
url = "http://cairographics.org/releases/${name}.tar.gz";
sha256 = "0kas43iw0wxw22z6gafsx15f8p73x991gw35asnah2myqw43x7pn";
};
nativeBuildInputs = [ pkgconfig perl ];
buildInputs = stdenv.lib.optional withPNG [ libpng ]; # NOT in closure anyway
postInstall = glib.flattenInclude;
meta = {
homepage = http://pixman.org;
description = "A low-level library for pixel manipulation";
license = "MIT";
};
}