2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libpng, glib /*just passthru*/ }:
|
2013-01-31 12:50:30 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "pixman";
|
2019-05-01 18:17:44 -07:00
|
|
|
version = "0.38.4";
|
2013-01-31 12:50:30 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "mirror://xorg/individual/lib/${pname}-${version}.tar.bz2";
|
2019-05-01 18:17:44 -07:00
|
|
|
sha256 = "0l0m48lnmdlmnaxn2021qi5cj366d9fzfjxkqgcj9bs14pxbgaw4";
|
2013-01-31 12:50:30 -08:00
|
|
|
};
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2013-04-18 12:31:56 -07:00
|
|
|
|
2018-08-08 12:02:00 -07:00
|
|
|
buildInputs = [ libpng ];
|
2013-04-18 12:31:56 -07:00
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
configureFlags = lib.optional stdenv.isAarch32 "--disable-arm-iwmmxt";
|
2013-01-31 12:50:30 -08:00
|
|
|
|
2015-09-22 09:44:16 -07:00
|
|
|
doCheck = true;
|
2015-03-24 20:54:05 -07:00
|
|
|
|
2015-09-22 09:44:16 -07:00
|
|
|
postInstall = glib.flattenInclude;
|
2015-08-16 09:27:40 -07:00
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://pixman.org";
|
2013-01-31 12:50:30 -08:00
|
|
|
description = "A low-level library for pixel manipulation";
|
2015-09-22 09:44:16 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2013-01-31 12:50:30 -08:00
|
|
|
};
|
|
|
|
}
|