2014-04-15 06:22:12 +01:00
|
|
|
{stdenv, fetchurl, libX11
|
|
|
|
, xproto ? null
|
|
|
|
, libXt ? null
|
|
|
|
, xextproto ? null
|
|
|
|
, libXext ? null }:
|
2009-03-23 21:31:30 +00:00
|
|
|
|
2011-01-10 19:41:58 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-03-03 10:08:41 +00:00
|
|
|
name = "plan9port-20140228";
|
2014-04-15 03:24:36 +01:00
|
|
|
|
|
|
|
patches = [ ./fontsrv.patch ];
|
|
|
|
|
2009-03-23 21:31:30 +00:00
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-01-10 19:41:58 +00:00
|
|
|
url = "http://swtch.com/plan9port/${name}.tgz";
|
2014-03-03 10:08:41 +00:00
|
|
|
sha256 = "1l7nsjfrrcq0l43kw0f1437jz3nyl9qw7i2vn0sbmcsv5vmsj0cr";
|
2009-03-23 21:31:30 +00:00
|
|
|
};
|
|
|
|
|
2014-04-15 06:22:12 +01:00
|
|
|
buildInputs = stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 xproto libXt xextproto libXext ];
|
2009-03-23 21:31:30 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://swtch.com/plan9port/";
|
|
|
|
description = "Plan 9 from User Space";
|
|
|
|
license="free";
|
|
|
|
};
|
|
|
|
}
|