nixpkgs-suyu/pkgs/development/libraries/pixman/default.nix
R. RyanTM 9955f6301a pixman: 0.38.0 -> 0.38.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pixman/versions
2019-05-04 17:56:22 +02:00

28 lines
706 B
Nix

{ stdenv, fetchurl, fetchpatch, pkgconfig, libpng, glib /*just passthru*/ }:
stdenv.mkDerivation rec {
name = "pixman-${version}";
version = "0.38.4";
src = fetchurl {
url = "mirror://xorg/individual/lib/${name}.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;
};
}