* Update gobject-introspection.

svn path=/nixpkgs/branches/x-updates/; revision=25910
This commit is contained in:
Eelco Dolstra 2011-02-11 17:27:16 +00:00
parent 0f0d3f9543
commit bdafe406db

View File

@ -1,22 +1,27 @@
{ stdenv, fetchurl, glib, flex, bison, pkgconfig, libffi, python, cairo }:
{ stdenv, fetchurl, glib, flex, bison, pkgconfig, libffi, python }:
let
baseName = "gobject-introspection";
v = "0.6.10";
v = "0.10.2";
in
stdenv.mkDerivation rec {
name = "${baseName}-${v}";
buildInputs = [ flex bison glib pkgconfig python cairo ];
buildInputs = [ flex bison glib pkgconfig python ];
propagatedBuildInputs = [ libffi ];
configureFlags = "--enable-gcov";
# Tests depend on cairo, which is undesirable (it pulls in lots of
# other dependencies).
configureFlags = "--disable-tests";
src = fetchurl {
url = "mirror://gnome/sources/${baseName}/0.6/${name}.tar.bz2";
sha256 = "0jwd7bybgvg6dwhg64da8k9yjrs37y5p153gaaapz5j59ld53g9n";
url = "mirror://gnome/sources/${baseName}/0.10/${name}.tar.bz2";
sha256 = "18di6v39hibb6j39vs0a5icaafihfryh8250kz7x1q1313pvm62v";
};
postInstall = "rm -rf $out/share/gtk-doc";
meta = with stdenv.lib; {
maintainers = [ maintainers.urkud ];
platforms = platforms.linux;