mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 18:12:47 +03:00
edd57d380d
- Fixes the IPC bug - Fixes the terminfo bug - Moves the OSX SDK out of our nixcrpkgs fork. - Vendor nixcrpkgs instead of having it be a submodule.
41 lines
840 B
Nix
41 lines
840 B
Nix
{ crossenv, xorg-macros, xproto }:
|
|
|
|
let
|
|
version = "1.0.8";
|
|
|
|
name = "libxau-${version}";
|
|
|
|
src = crossenv.nixpkgs.fetchurl {
|
|
url = "https://www.x.org/archive/individual/lib/libXau-${version}.tar.bz2";
|
|
sha256 = "1wm4pv12f36cwzhldpp7vy3lhm3xdcnp4f184xkxsp7b18r7gm7x";
|
|
};
|
|
|
|
lib = crossenv.make_derivation rec {
|
|
inherit version name src;
|
|
|
|
builder = ./builder.sh;
|
|
|
|
configure_flags =
|
|
"--host=${crossenv.host} " +
|
|
"--enable-static " +
|
|
"--disable-shared";
|
|
|
|
cross_inputs = [ xorg-macros xproto ];
|
|
|
|
inherit xproto;
|
|
};
|
|
|
|
license = crossenv.native.make_derivation {
|
|
name = "${name}-license";
|
|
inherit src;
|
|
builder = ./license_builder.sh;
|
|
};
|
|
|
|
license_set =
|
|
xorg-macros.license_set //
|
|
xproto.license_set //
|
|
{ "${name}" = license; };
|
|
|
|
in
|
|
lib // { inherit license_set; }
|