mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 07:26:51 +03:00
30 lines
752 B
Nix
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; }
|