3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/plan9port/default.nix
2014-04-15 18:37:18 +05:30

27 lines
590 B
Nix

{stdenv, fetchurl, libX11
, xproto ? null
, libXt ? null
, xextproto ? null
, libXext ? null }:
stdenv.mkDerivation rec {
name = "plan9port-20140228";
patches = [ ./fontsrv.patch ];
builder = ./builder.sh;
src = fetchurl {
url = "http://swtch.com/plan9port/${name}.tgz";
sha256 = "1l7nsjfrrcq0l43kw0f1437jz3nyl9qw7i2vn0sbmcsv5vmsj0cr";
};
buildInputs = stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 xproto libXt xextproto libXext ];
meta = {
homepage = "http://swtch.com/plan9port/";
description = "Plan 9 from User Space";
license="free";
};
}