mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
29 lines
698 B
Nix
29 lines
698 B
Nix
{ stdenv, fetchurl, pkgconfig, 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";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libpng ];
|
|
|
|
configureFlags = stdenv.lib.optional stdenv.isAarch32 "--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;
|
|
};
|
|
}
|