2014-07-09 18:44:49 +00:00
|
|
|
{ fetchurl, stdenv, pkgconfig, perl, libpng, glib /*just passthru*/ }:
|
2013-01-31 20:50:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-07-09 18:44:49 +00:00
|
|
|
name = "pixman-0.32.6";
|
2013-01-31 20:50:30 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://cairographics.org/releases/${name}.tar.gz";
|
2014-07-09 18:44:49 +00:00
|
|
|
sha256 = "0129g4zdrw5hif5783li7rzcr4vpbc2cfia91azxmsk0h0xx3zix";
|
2013-01-31 20:50:30 +00:00
|
|
|
};
|
|
|
|
|
2013-04-18 19:31:56 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
|
|
|
|
2014-07-09 18:44:49 +00:00
|
|
|
buildInputs = [ libpng ]; # NOT in closure anyway
|
2013-04-18 19:31:56 +00:00
|
|
|
|
|
|
|
postInstall = glib.flattenInclude;
|
2013-01-31 20:50:30 +00:00
|
|
|
|
2015-06-22 21:11:48 +00:00
|
|
|
patches = stdenv.lib.optional stdenv.isDarwin ./fix-clang36.patch;
|
2015-03-25 03:54:05 +00:00
|
|
|
|
2013-01-31 20:50:30 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://pixman.org;
|
|
|
|
description = "A low-level library for pixel manipulation";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2013-01-31 20:50:30 +00:00
|
|
|
};
|
|
|
|
}
|