{stdenv, fetchurl, libX11, xproto, libXt, xextproto}:

stdenv.mkDerivation {
  name = "plan9port-20090318";
  
  builder = ./builder.sh;

  src = fetchurl {
    url = http://swtch.com/plan9port/plan9port-20090318.tgz;
    sha256 = "1idb2l1s5j34sa1dj1wwnvj97z5z7cy73qjafrxf2bbda26axzqj";
  };

  buildInputs = [ libX11 xproto libXt xextproto ];

  meta = {
    homepage = "http://swtch.com/plan9port/";
    description = "Plan 9 from User Space";
    license="free";
  };
}

{stdenv, fetchurl, libX11, xproto, libXt, xextproto, libXext}:

stdenv.mkDerivation rec {
  name = "plan9port-20110103";
  
  builder = ./builder.sh;

  src = fetchurl {
    url = "http://swtch.com/plan9port/${name}.tgz";
    sha256 = "12hq3k03jgva72498qa1dyndakbhbfg0sc1jhcap9cxqj04xf0dc";
  };

  buildInputs = [ libX11 xproto libXt xextproto libXext ];

  meta = {
    homepage = "http://swtch.com/plan9port/";
    description = "Plan 9 from User Space";
    license="free";
  };
}

Update plan9port to make it build
Update plan9port to make it build

svn path=/nixpkgs/trunk/; revision=25496
