mirror of
https://github.com/urbit/shrub.git
synced 2024-12-28 06:32:51 +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.
29 lines
635 B
Nix
29 lines
635 B
Nix
{ crossenv }:
|
|
|
|
let
|
|
version = "1.12";
|
|
|
|
name = "xcb-proto-${version}";
|
|
|
|
src = crossenv.nixpkgs.fetchurl {
|
|
url = "https://xcb.freedesktop.org/dist/xcb-proto-${version}.tar.bz2";
|
|
sha256 = "01j91946q8f34l1mbvmmgvyc393sm28ym4lxlacpiav4qsjan8jr";
|
|
};
|
|
|
|
lib = crossenv.native.make_derivation rec {
|
|
inherit version name src;
|
|
builder = ./builder.sh;
|
|
native_inputs = [ crossenv.nixpkgs.python2 ];
|
|
};
|
|
|
|
license = crossenv.native.make_derivation {
|
|
name = "${name}-license";
|
|
inherit src;
|
|
builder = ./license_builder.sh;
|
|
};
|
|
|
|
license_set = { "${name}" = license; };
|
|
|
|
in
|
|
lib // { inherit license_set; }
|