summary refs log tree commit diff
path: root/pkgs/desktops/gnome-2/platform/libglade/default.nix
blob: ce1da95762ff9291514938e46c50f2d5bb2ec76b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{stdenv, fetchurl, pkgconfig, gtk, libxml2, python, gettext}:

stdenv.mkDerivation {
  name = "libglade-2.6.4";

  src = fetchurl {
    url = mirror://gnome/sources/libglade/2.6/libglade-2.6.4.tar.bz2;
    sha256 = "1v2x2s04jry4gpabws92i0wq2ghd47yr5n9nhgnkd7c38xv1wdk4";
  };

  outputs = [ "dev" "out" ];

  buildInputs = [ pkgconfig gtk python gettext ];

  propagatedBuildInputs = [ libxml2 ];

  NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
}