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 13:41:18 +01:00
|
|
|
pname = "pixman";
|
2019-05-02 02:17:44 +01:00
|
|
|
version = "0.38.4";
|
2013-01-31 20:50:30 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://xorg/individual/lib/${pname}-${version}.tar.bz2";
|
2019-05-02 02:17:44 +01: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 20:31:56 +01:00
|
|
|
|
2018-08-08 20:02:00 +01:00
|
|
|
buildInputs = [ libpng ];
|
2013-04-18 20:31:56 +01: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 17:44:16 +01:00
|
|
|
doCheck = true;
|
2015-03-25 03:54:05 +00:00
|
|
|
|
2015-09-22 17:44:16 +01:00
|
|
|
postInstall = glib.flattenInclude;
|
2015-08-16 17:27:40 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://pixman.org";
|
2013-01-31 20:50:30 +00:00
|
|
|
description = "A low-level library for pixel manipulation";
|
2015-09-22 17:44:16 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2013-01-31 20:50:30 +00:00
|
|
|
};
|
|
|
|
}
|