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