2011-02-11 17:27:16 +00:00
|
|
|
{ stdenv, fetchurl, glib, flex, bison, pkgconfig, libffi, python }:
|
2010-05-13 16:56:04 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
baseName = "gobject-introspection";
|
2011-07-07 19:15:34 +01:00
|
|
|
v = "0.10.8";
|
2010-05-13 16:56:04 +01:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${baseName}-${v}";
|
|
|
|
|
2011-02-11 17:27:16 +00:00
|
|
|
buildInputs = [ flex bison glib pkgconfig python ];
|
2010-05-13 16:56:04 +01:00
|
|
|
propagatedBuildInputs = [ libffi ];
|
2011-02-11 17:27:16 +00:00
|
|
|
|
|
|
|
# Tests depend on cairo, which is undesirable (it pulls in lots of
|
|
|
|
# other dependencies).
|
|
|
|
configureFlags = "--disable-tests";
|
2010-05-13 16:56:04 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-02-11 17:27:16 +00:00
|
|
|
url = "mirror://gnome/sources/${baseName}/0.10/${name}.tar.bz2";
|
2011-07-07 19:15:34 +01:00
|
|
|
sha256 = "5b1387ff37f03db880a2b1cbd6c6b6dfb923a29468d4d8367c458abf7704c61e";
|
2010-05-13 16:56:04 +01:00
|
|
|
};
|
|
|
|
|
2011-02-11 17:27:16 +00:00
|
|
|
postInstall = "rm -rf $out/share/gtk-doc";
|
|
|
|
|
2010-05-13 16:56:04 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
maintainers = [ maintainers.urkud ];
|
2010-05-13 16:57:37 +01:00
|
|
|
platforms = platforms.linux;
|
2010-05-13 16:56:04 +01:00
|
|
|
homepage = http://live.gnome.org/GObjectIntrospection;
|
|
|
|
};
|
|
|
|
}
|