mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-17 20:01:32 +03:00
28 lines
608 B
Nix
28 lines
608 B
Nix
|
{ crossenv }:
|
||
|
|
||
|
let
|
||
|
version = "7.3.0";
|
||
|
|
||
|
name = "xextproto-${version}";
|
||
|
|
||
|
src = crossenv.nixpkgs.fetchurl {
|
||
|
url = "https://xorg.freedesktop.org/releases/individual/proto/xextproto-${version}.tar.bz2";
|
||
|
sha256 = "1c2vma9gqgc2v06rfxdiqgwhxmzk2cbmknwf1ng3m76vr0xb5x7k";
|
||
|
};
|
||
|
|
||
|
lib = crossenv.native.make_derivation rec {
|
||
|
inherit version name src;
|
||
|
builder = ./builder.sh;
|
||
|
};
|
||
|
|
||
|
license = crossenv.native.make_derivation {
|
||
|
name = "${name}-license";
|
||
|
inherit src;
|
||
|
builder = ./license_builder.sh;
|
||
|
};
|
||
|
|
||
|
license_set = { "${name}" = license; };
|
||
|
|
||
|
in
|
||
|
lib // { inherit license_set; }
|