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