nixpkgs/pkgs/development/libraries/pixman/default.nix

29 lines
694 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, libpng, glib /*just passthru*/ }:
stdenv.mkDerivation rec {
2018-02-01 20:21:08 +00:00
name = "pixman-${version}";
version = "0.38.4";
src = fetchurl {
url = "mirror://xorg/individual/lib/${name}.tar.bz2";
sha256 = "0l0m48lnmdlmnaxn2021qi5cj366d9fzfjxkqgcj9bs14pxbgaw4";
};
2018-11-22 22:47:09 +00:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libpng ];
configureFlags = stdenv.lib.optional stdenv.isAarch32 "--disable-arm-iwmmxt";
doCheck = true;
2015-03-25 03:54:05 +00:00
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;
};
}