mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
6a59d1a98f
* Added gdk-pixbuf, which has been revived and is required by GTK+. * Don't install the documentation of aforementioned packages. This cuts 56 MiB off the closure of GTK+-based packages. It wasn't really useful anyway because it's not installed in a way that allows users to find it easily on NixOS. And if you want it, it's faster to Google it. svn path=/nixpkgs/branches/x-updates/; revision=25853
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "pango-1.28.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/pango/1.28/${name}.tar.bz2";
|
|
sha256 = "0ch640zmf159gr9qp3i4a5mh1ib2s9h3660g4w0bpiqc8g4qn9sy";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig ] ++ stdenv.lib.optional stdenv.isDarwin gettext;
|
|
|
|
propagatedBuildInputs = [ x11 glib cairo libpng ];
|
|
|
|
postInstall = "rm -rf $out/share/gtk-doc";
|
|
|
|
meta = {
|
|
description = "A library for laying out and rendering of text, with an emphasis on internationalization";
|
|
|
|
longDescription = ''
|
|
Pango is a library for laying out and rendering of text, with an
|
|
emphasis on internationalization. Pango can be used anywhere
|
|
that text layout is needed, though most of the work on Pango so
|
|
far has been done in the context of the GTK+ widget toolkit.
|
|
Pango forms the core of text and font handling for GTK+-2.x.
|
|
'';
|
|
|
|
homepage = http://www.pango.org/;
|
|
license = "LGPLv2+";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|