forked from mirrors/nixpkgs
unifont: 14.0.01 -> 14.0.02
This commit is contained in:
parent
267148d196
commit
cc984aff2f
|
@ -4,16 +4,18 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "unifont";
|
pname = "unifont";
|
||||||
version = "14.0.01";
|
version = "14.0.02";
|
||||||
|
|
||||||
ttf = fetchurl {
|
ttf = fetchurl {
|
||||||
url = "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.ttf";
|
# Unfortunately the 14.0.02 TTF file is not available on the GNU mirror.
|
||||||
sha256 = "19algkm4nnixmzshc25rjgh8gfccqinallgi86wgvkcwcmn6ccn6";
|
# 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 {
|
pcf = fetchurl {
|
||||||
url = "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.pcf.gz";
|
url = "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.pcf.gz";
|
||||||
sha256 = "1aj29pswi6qwpvjwncv5w3ndwy2nzli0200i6dx6f80036z8nz9i";
|
sha256 = "0hcl1zihm91xwvh5ds01sybgs0j8zsrrhn4wlz5j6ji99rh797jr";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ libfaketime fonttosfnt mkfontscale ];
|
nativeBuildInputs = [ libfaketime fonttosfnt mkfontscale ];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "14.0.01";
|
version = "14.0.02";
|
||||||
in fetchzip rec {
|
in fetchzip rec {
|
||||||
name = "unifont_upper-${version}";
|
name = "unifont_upper-${version}";
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ in fetchzip rec {
|
||||||
|
|
||||||
postFetch = "install -Dm644 $downloadedFile $out/share/fonts/truetype/unifont_upper.ttf";
|
postFetch = "install -Dm644 $downloadedFile $out/share/fonts/truetype/unifont_upper.ttf";
|
||||||
|
|
||||||
sha256 = "0sb3m2qg0ri7zmxhjvrq8n0jmxxjx8rrx9rpibh5f5fbfkibq4gm";
|
sha256 = "0p1c2kkg20jqddy828yj6sxfwgv8k5gxwmg0cybalrjb0s09kcs8";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Unicode font for glyphs above the Unicode Basic Multilingual Plane";
|
description = "Unicode font for glyphs above the Unicode Basic Multilingual Plane";
|
||||||
|
|
Loading…
Reference in a new issue