nixpkgs/pkgs/development/libraries/pixman/default.nix

29 lines
706 B
Nix
Raw Normal View History

2018-11-24 01:21:03 +01:00
{ stdenv, fetchurl, fetchpatch, pkgconfig, libpng, glib /*just passthru*/ }:
stdenv.mkDerivation rec {
2018-02-01 21:21:08 +01:00
name = "pixman-${version}";
2018-11-22 23:47:09 +01:00
version = "0.36.0";
src = fetchurl {
url = "mirror://xorg/individual/lib/${name}.tar.bz2";
2018-11-22 23:47:09 +01:00
sha256 = "1p40fygy9lcn6ypkzh14azksi570brcpr3979bjpff8qk76c14px";
};
2018-11-22 23:47:09 +01:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libpng ];
configureFlags = stdenv.lib.optional stdenv.isAarch32 "--disable-arm-iwmmxt";
doCheck = true;
2015-03-25 04:54:05 +01:00
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;
};
}