mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
23 lines
596 B
Nix
23 lines
596 B
Nix
{ fetchurl, stdenv, pkgconfig, perl, withPNG ? true, libpng, glib /*just passthru*/ }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pixman-0.32.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://cairographics.org/releases/${name}.tar.gz";
|
|
sha256 = "113ycngcssbrps217dyajq96hm9xghsfch82h14yffla1r1fviw0";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
|
|
|
buildInputs = stdenv.lib.optional withPNG [ libpng ]; # NOT in closure anyway
|
|
|
|
postInstall = glib.flattenInclude;
|
|
|
|
meta = {
|
|
homepage = http://pixman.org;
|
|
description = "A low-level library for pixel manipulation";
|
|
license = "MIT";
|
|
};
|
|
}
|