mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 01:41:37 +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.
56 lines
1.2 KiB
Nix
56 lines
1.2 KiB
Nix
{ crossenv, xorg-macros, xproto, libxcb, xtrans,
|
|
xextproto, inputproto, kbproto }:
|
|
|
|
let
|
|
version = "1.6.5";
|
|
|
|
name = "libx11-${version}";
|
|
|
|
src = crossenv.nixpkgs.fetchurl {
|
|
url = "https://xorg.freedesktop.org/releases/individual/libX11-${version}.tar.bz2";
|
|
sha256 = "0pa3cfp6h9rl2vxmkph65250gfqyki0ccqyaan6bl9d25gdr0f2d";
|
|
};
|
|
|
|
lib = crossenv.make_derivation rec {
|
|
inherit version name src;
|
|
|
|
builder = ./builder.sh;
|
|
|
|
configure_flags =
|
|
"--host=${crossenv.host} " +
|
|
"--disable-malloc0returnsnull " +
|
|
"--enable-static " +
|
|
"--disable-shared";
|
|
|
|
cross_inputs = [
|
|
xorg-macros
|
|
xproto
|
|
libxcb
|
|
xtrans
|
|
xextproto
|
|
inputproto
|
|
kbproto
|
|
];
|
|
|
|
inherit kbproto xproto libxcb;
|
|
};
|
|
|
|
license = crossenv.native.make_derivation {
|
|
name = "${name}-license";
|
|
inherit src;
|
|
builder = ./license_builder.sh;
|
|
};
|
|
|
|
license_set =
|
|
xorg-macros.license_set //
|
|
xproto.license_set //
|
|
libxcb.license_set //
|
|
xtrans.license_set //
|
|
xextproto.license_set //
|
|
inputproto.license_set //
|
|
kbproto.license_set //
|
|
{ "${name}" = license; };
|
|
|
|
in
|
|
lib // { inherit license_set; }
|