|
|
|
@ -2,11 +2,14 @@ |
|
|
|
|
|
|
|
|
|
let |
|
|
|
|
mkNoto = { name, weights, sha256, }: |
|
|
|
|
let version = "2017-10-24-phase3-second-cleanup"; in |
|
|
|
|
let |
|
|
|
|
version = "2018-11-30"; |
|
|
|
|
ref = "85e78f831469323c85847e23f95026c894159135"; |
|
|
|
|
in |
|
|
|
|
fetchzip { |
|
|
|
|
name = "${name}-${version}"; |
|
|
|
|
inherit sha256; |
|
|
|
|
url = "https://github.com/googlei18n/noto-fonts/archive/v${version}.zip"; |
|
|
|
|
url = "https://github.com/googlei18n/noto-fonts/archive/${ref}.zip"; |
|
|
|
|
postFetch = '' |
|
|
|
|
unzip $downloadedFile |
|
|
|
|
mkdir -p $out/share/fonts/noto |
|
|
|
@ -47,12 +50,12 @@ rec { |
|
|
|
|
noto-fonts = mkNoto { |
|
|
|
|
name = "noto-fonts"; |
|
|
|
|
weights = "{Regular,Bold,Light,Italic,BoldItalic,LightItalic}"; |
|
|
|
|
sha256 = "1dmarbsfank6xzzx31h5jdv6n99rzblqyb1iqjkpll6dl3627pnb"; |
|
|
|
|
sha256 = "0kvq5ldip2ra2njlxg9fxj46nfqzq5l3n359d3kwfbsld7hixm2d"; |
|
|
|
|
}; |
|
|
|
|
noto-fonts-extra = mkNoto { |
|
|
|
|
name = "noto-fonts-extra"; |
|
|
|
|
weights = "{Black,Condensed,Extra,Medium,Semi,Thin}*"; |
|
|
|
|
sha256 = "1lih49bqmsmblczvbl7qb1bhn0bq8v5xkr991b3gjghpdkx584bc"; |
|
|
|
|
sha256 = "0l94aiy1b3qirg2mmbagbr0014vqk32za79pzck1acy2hgy716kq"; |
|
|
|
|
}; |
|
|
|
|
noto-fonts-cjk = let version = "1.004"; in fetchzip { |
|
|
|
|
name = "noto-fonts-cjk-${version}"; |
|
|
|
|