{stdenv, fetchurl, pkgconfig, xproto, xextensions, libXtrans, libXau}:

stdenv.mkDerivation {
  name = "libX11-6.2.1";
  src = fetchurl {
    url = http://nix.cs.uu.nl/dist/tarballs/libX11-6.2.1.tar.bz2;
    md5 = "59b6fa7cd6fe7ee1da92fd1b56d1cee3";
  };
  buildInputs = [pkgconfig];
  propagatedBuildInputs = [xproto xextensions libXtrans libXau];
}
