urbit/nix/nixcrpkgs/pkgs/dejavu-fonts/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

30 lines
752 B
Nix

{ crossenv }:
let
version = "2.37";
name = "dejavu-fonts-${version}";
src = crossenv.nixpkgs.fetchurl {
# Sourceforge went down. The original URL was:
# http://sourceforge.net/projects/dejavu/files/dejavu/${version}/dejavu-fonts-ttf-${version}.tar.bz2";
url = "https://files.tmphax.com/repo1/dejavu-fonts-ttf-${version}.tar.bz2";
sha256 = "1mqpds24wfs5cmfhj57fsfs07mji2z8812i5c4pi5pbi738s977s";
};
fonts = crossenv.native.make_derivation {
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
fonts // { inherit license_set; }