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