{stdenv, fetchurl, x11, glib}:

assert x11 != null && glib != null;
assert x11.buildClientLibs;

stdenv.mkDerivation {
  name = "gtk+-1.2.10";

  builder = ./builder.sh;
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/gtk+-1.2.10.tar.gz;
    md5 = "4d5cb2fc7fb7830e4af9747a36bfce20";
  };

  buildInputs = [x11 glib];
  _propagatedBuildInputs = [x11 glib];
}
