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