depot/third_party/nixpkgs/pkgs/development/libraries/pixman/default.nix
Default email 8d28093ffb Project import generated by Copybara.
GitOrigin-RevId: 31ffc50c571e6683e9ecc9dbcbd4a8e9914b4497
2021-09-26 14:46:18 +02:00

30 lines
720 B
Nix

{ lib, stdenv, fetchurl, pkg-config, libpng, glib /*just passthru*/ }:
stdenv.mkDerivation rec {
pname = "pixman";
version = "0.38.4";
src = fetchurl {
url = "mirror://xorg/individual/lib/${pname}-${version}.tar.bz2";
sha256 = "0l0m48lnmdlmnaxn2021qi5cj366d9fzfjxkqgcj9bs14pxbgaw4";
};
separateDebugInfo = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libpng ];
configureFlags = lib.optional stdenv.isAarch32 "--disable-arm-iwmmxt";
doCheck = true;
postInstall = glib.flattenInclude;
meta = with lib; {
homepage = "http://pixman.org";
description = "A low-level library for pixel manipulation";
license = licenses.mit;
platforms = platforms.all;
};
}