mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 11:24:21 +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.
42 lines
899 B
Nix
42 lines
899 B
Nix
{ crossenv, xorg-macros, xextproto }:
|
|
|
|
let
|
|
version = "2017-01-26";
|
|
|
|
name = "fixesproto-${version}";
|
|
|
|
src = crossenv.nixpkgs.fetchgit {
|
|
url = "https://anongit.freedesktop.org/git/xorg/proto/fixesproto";
|
|
rev = "4292ec1c63180c5f4e7c0e606fa68c51913f172b";
|
|
sha256 = "0mmx4cmkbrsmbq1j58g8gcx4h3qz9y4xbjpz7jcl7crki7zrz3kx";
|
|
};
|
|
|
|
lib = crossenv.native.make_derivation rec {
|
|
inherit version name src;
|
|
|
|
builder = ./builder.sh;
|
|
|
|
native_inputs = [
|
|
crossenv.nixpkgs.autoconf
|
|
crossenv.nixpkgs.automake
|
|
];
|
|
|
|
ACLOCAL_PATH = "${xorg-macros}/lib/aclocal";
|
|
|
|
inherit xextproto;
|
|
};
|
|
|
|
license = crossenv.native.make_derivation {
|
|
name = "${name}-license";
|
|
inherit src;
|
|
builder = ./license_builder.sh;
|
|
};
|
|
|
|
license_set =
|
|
xorg-macros.license_set //
|
|
xextproto.license_set //
|
|
{ "${name}" = license; };
|
|
|
|
in
|
|
lib // { inherit license_set; }
|