2013-05-09 12:58:08 +01:00
|
|
|
{ stdenv, fetchurl, glib, flex, bison, pkgconfig, libffi, python }:
|
2010-05-13 16:56:04 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-05-09 12:58:08 +01:00
|
|
|
name = "gobject-introspection-1.34.0";
|
2010-05-13 16:56:04 +01:00
|
|
|
|
2013-05-09 12:58:08 +01: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 {
|
2012-09-27 21:17:06 +01:00
|
|
|
url = "mirror://gnome/sources/gobject-introspection/1.34/${name}.tar.xz";
|
2013-05-09 12:58:08 +01:00
|
|
|
sha256 = "80e211ea95404fc7c5fa3b04ba69ee0b29af70847af315155ab06b8cff832c85";
|
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;
|
|
|
|
};
|
|
|
|
}
|