mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
38e81b5640
plan9port ships with an INSTALL script. This commit modifies the builder to use the script instead of a custom build script. The commit also adds a patch to build fontsrv, which is otherwise omitted from the build.
23 lines
517 B
Nix
23 lines
517 B
Nix
{stdenv, fetchurl, libX11, xproto, libXt, xextproto, libXext}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "plan9port-20140228";
|
|
|
|
patches = [ ./fontsrv.patch ];
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
url = "http://swtch.com/plan9port/${name}.tgz";
|
|
sha256 = "1l7nsjfrrcq0l43kw0f1437jz3nyl9qw7i2vn0sbmcsv5vmsj0cr";
|
|
};
|
|
|
|
buildInputs = [ libX11 xproto libXt xextproto libXext ];
|
|
|
|
meta = {
|
|
homepage = "http://swtch.com/plan9port/";
|
|
description = "Plan 9 from User Space";
|
|
license="free";
|
|
};
|
|
}
|