urbit/nix/nixcrpkgs/pkgs/fixesproto/default.nix
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- 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.
2019-04-23 19:50:38 -07:00

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; }