3
0
Fork 0
forked from mirrors/nixpkgs

unifont: 14.0.01 -> 14.0.02

This commit is contained in:
Robert Helgesson 2022-03-10 23:07:39 +01:00
parent 267148d196
commit cc984aff2f
2 changed files with 8 additions and 6 deletions

View file

@ -4,16 +4,18 @@
stdenv.mkDerivation rec {
pname = "unifont";
version = "14.0.01";
version = "14.0.02";
ttf = fetchurl {
url = "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.ttf";
sha256 = "19algkm4nnixmzshc25rjgh8gfccqinallgi86wgvkcwcmn6ccn6";
# Unfortunately the 14.0.02 TTF file is not available on the GNU mirror.
# Restore this for next version: "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.ttf";
url = "https://unifoundry.com/pub/unifont/${pname}-${version}/font-builds/${pname}-${version}.ttf";
sha256 = "1c8rdk3xg6j8lrzxddd73jppfgpk253jdkch63rr7n2d7ljp9gc3";
};
pcf = fetchurl {
url = "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.pcf.gz";
sha256 = "1aj29pswi6qwpvjwncv5w3ndwy2nzli0200i6dx6f80036z8nz9i";
sha256 = "0hcl1zihm91xwvh5ds01sybgs0j8zsrrhn4wlz5j6ji99rh797jr";
};
nativeBuildInputs = [ libfaketime fonttosfnt mkfontscale ];

View file

@ -1,7 +1,7 @@
{ lib, fetchzip }:
let
version = "14.0.01";
version = "14.0.02";
in fetchzip rec {
name = "unifont_upper-${version}";
@ -9,7 +9,7 @@ in fetchzip rec {
postFetch = "install -Dm644 $downloadedFile $out/share/fonts/truetype/unifont_upper.ttf";
sha256 = "0sb3m2qg0ri7zmxhjvrq8n0jmxxjx8rrx9rpibh5f5fbfkibq4gm";
sha256 = "0p1c2kkg20jqddy828yj6sxfwgv8k5gxwmg0cybalrjb0s09kcs8";
meta = with lib; {
description = "Unicode font for glyphs above the Unicode Basic Multilingual Plane";