1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/tools/system/plan9port/default.nix

33 lines
805 B
Nix
Raw Normal View History

{stdenv, fetchurl, libX11, libXt
, xproto ? null
, xextproto ? null
, libXext ? null }:
stdenv.mkDerivation rec {
name = "plan9port-20140306";
patches = [ ./fontsrv.patch ];
builder = ./builder.sh;
src = fetchurl {
url = "https://plan9port.googlecode.com/files/${name}.tgz";
# Google code is much faster than swtch
# url = "http://swtch.com/plan9port/${name}.tgz";
sha256 = "1sza12j3db7i54r3pzli8wmby6aiyzmyfj8w0nidmawkwv6jdf6b";
};
buildInputs = stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 xproto libXt xextproto libXext ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = "http://swtch.com/plan9port/";
description = "Plan 9 from User Space";
2014-08-15 01:06:45 +01:00
license = licenses.lpl-102;
platforms = platforms.unix;
};
inherit libXt;
}