summary refs log tree commit diff
path: root/pkgs/development/libraries/gobject-introspection/default.nix
blob: b96d5b25bb1c6f0d3ef98cc3d74e1610e5aa8b59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchurl, glib, flex, bison, pkgconfig, libffi, python, gdk_pixbuf }:

stdenv.mkDerivation rec {
  name = "gobject-introspection-1.34.2";

  buildInputs = [ flex bison glib pkgconfig python gdk_pixbuf ];
  propagatedBuildInputs = [ libffi ];

  # Tests depend on cairo, which is undesirable (it pulls in lots of
  # other dependencies).
  configureFlags = "--disable-tests";

  src = fetchurl {
    url = "mirror://gnome/sources/gobject-introspection/1.34/${name}.tar.xz";
    sha256 = "0a9lq0y67sr3g37l1hy0biqn046jr9wnd05hvwi8j8g2bjilhydw";
  };

  postInstall = "rm -rf $out/share/gtk-doc";

  meta = with stdenv.lib; {
    maintainers = [ maintainers.urkud ];
    platforms = platforms.linux;
    homepage = http://live.gnome.org/GObjectIntrospection;
  };
}