mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
Merge pull request #8739 from rycee/update/fonts
Update fonts 'unifont', 'fira', and 'fira-mono'
This commit is contained in:
commit
913dc46a2c
@ -1,16 +1,16 @@
|
|||||||
{ stdenv, fetchurl, unzip }:
|
{ stdenv, fetchurl, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "fira-mono-3.203";
|
name = "fira-mono-3.204";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.carrois.com/downloads/fira_mono_3_2/FiraMonoFonts3203.zip;
|
url = http://www.carrois.com/downloads/fira_mono_3_2/FiraMonoFonts3204.zip;
|
||||||
sha256 = "0qaplpmsqys42a49x8d15ca2gqw1v6a6k2d56ja1j38dmr2qmpv4";
|
sha256 = "0pnsw7b1i5vkwq0kny4lxzly4h8rlwkj610rykhax6zayfbnz62a";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip ];
|
buildInputs = [ unzip ];
|
||||||
phases = [ "unpackPhase" "installPhase" ];
|
phases = [ "unpackPhase" "installPhase" ];
|
||||||
sourceRoot = "FiraMonoFonts3203";
|
sourceRoot = "FiraMonoFonts3204";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/fonts/opentype
|
mkdir -p $out/share/fonts/opentype
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
{ stdenv, fetchurl, unzip }:
|
{ stdenv, fetchurl, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "fira-4.103";
|
name = "fira-4.104";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://www.carrois.com/downloads/fira_4_1/FiraFonts4103.zip;
|
url = http://www.carrois.com/downloads/fira_4_1/FiraFonts4104.zip;
|
||||||
sha256 = "1nw5icg3134qq2qfspvj2kclsv3965szby2lfcr65imf7lj4k52z";
|
sha256 = "1i8l0x2wdx4pw7j52lgy8qcx0wqj0azwjiq0wa9kg26x78bdfk2d";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [unzip];
|
buildInputs = [unzip];
|
||||||
phases = [ "unpackPhase" "installPhase" ];
|
phases = [ "unpackPhase" "installPhase" ];
|
||||||
sourceRoot = "FiraFonts4103";
|
sourceRoot = "FiraFonts4104";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/fonts/opentype
|
mkdir -p $out/share/fonts/opentype
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "unifont-${version}";
|
name = "unifont-${version}";
|
||||||
version = "7.0.06";
|
version = "8.0.01";
|
||||||
|
|
||||||
ttf = fetchurl {
|
ttf = fetchurl {
|
||||||
url = "http://unifoundry.com/pub/${name}/font-builds/${name}.ttf";
|
url = "http://fossies.org/linux/unifont/font/precompiled/${name}.ttf";
|
||||||
sha256 = "0qmk06rwhxs43n1xbwj14fanbih60zqli002qhy0609da24r3957";
|
sha256 = "0g4g2n024072cdrs2wjp7xmkr3i9dm52a5g9hiafxjgj5a45c8kl";
|
||||||
};
|
};
|
||||||
|
|
||||||
pcf = fetchurl {
|
pcf = fetchurl {
|
||||||
url = "http://unifoundry.com/pub/${name}/font-builds/${name}.pcf.gz";
|
url = "http://fossies.org/linux/unifont/font/precompiled/${name}.pcf.gz";
|
||||||
sha256 = "1wplig57wpc79mlqamhknn39cibg5z8dvbyibp1490ljcjs1dxdc";
|
sha256 = "0mpdy2k7z9s60x8i6sbv64p9wrihfwgrw81x5yj13rl6x7zzghr8";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ mkfontscale mkfontdir ];
|
buildInputs = [ mkfontscale mkfontdir ];
|
||||||
|
Loading…
Reference in New Issue
Block a user