mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
a921167e37
It's claimed to be important on i686. http://cgit.freedesktop.org/pixman/commit/?id=8b49d4b6b460d0c92
29 lines
743 B
Nix
29 lines
743 B
Nix
{ fetchurl, stdenv, pkgconfig, libpng, glib /*just passthru*/ }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pixman-0.32.8";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://xorg/individual/lib/${name}.tar.bz2";
|
|
sha1 = "5c57045622265b877c9bf02d531973eadf942140";
|
|
};
|
|
|
|
patches = stdenv.lib.optional stdenv.isDarwin ./fix-clang36.patch;
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = stdenv.lib.optional doCheck libpng;
|
|
|
|
configureFlags = stdenv.lib.optional stdenv.isArm "--disable-arm-iwmmxt";
|
|
|
|
doCheck = true;
|
|
|
|
postInstall = glib.flattenInclude;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://pixman.org;
|
|
description = "A low-level library for pixel manipulation";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|