···1-{ lib, fetchzip }:
23-let
04 version = "20130214";
5-in fetchzip {
6- name = "caladea-${version}";
0000000078- url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-${version}.tar.gz";
9- postFetch = ''
10- tar -xzvf $downloadedFile --strip-components=1
11 mkdir -p $out/etc/fonts/conf.d
12 mkdir -p $out/share/fonts/truetype
13 cp -v *.ttf $out/share/fonts/truetype
14 cp -v ${./cambria-alias.conf} $out/etc/fonts/conf.d/30-cambria.conf
0015 '';
16- sha256 = "0kwm42ggr8kvcn3554cpmv90xzam1sdncx7x3zs3bzp88mxrnv1z";
1718 meta = with lib; {
19 # This font doesn't appear to have any official web site but this
···27 '';
28 license = licenses.asl20;
29 platforms = platforms.all;
30- maintainers = [maintainers.rycee];
3132 # Reduce the priority of this package. The intent is that if you
33 # also install the `vista-fonts` package, then you probably will
···1+{ lib, stdenvNoCC, fetchurl }:
23+stdenvNoCC.mkDerivation rec {
4+ pname = "caladea";
5 version = "20130214";
6+7+ src = fetchurl {
8+ url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-${version}.tar.gz";
9+ hash = "sha256-xI0cL9YTycBslZw02nuDiAWeJAjSuxmEXcPtNfduTQk=";
10+ };
11+12+ dontBuild = true;
13+14+ installPhase = ''
15+ runHook preInstall
1600017 mkdir -p $out/etc/fonts/conf.d
18 mkdir -p $out/share/fonts/truetype
19 cp -v *.ttf $out/share/fonts/truetype
20 cp -v ${./cambria-alias.conf} $out/etc/fonts/conf.d/30-cambria.conf
21+22+ runHook postInstall
23 '';
02425 meta = with lib; {
26 # This font doesn't appear to have any official web site but this
···34 '';
35 license = licenses.asl20;
36 platforms = platforms.all;
37+ maintainers = [ maintainers.rycee ];
3839 # Reduce the priority of this package. The intent is that if you
40 # also install the `vista-fonts` package, then you probably will
+5-5
pkgs/data/fonts/carlito/default.nix
···1-{ lib, fetchzip, stdenvNoCC }:
23stdenvNoCC.mkDerivation rec {
4 pname = "carlito";
5 version = "20130920";
67- src = fetchzip {
8 url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-${version}.tar.gz";
9- sha256 = "sha256-OGDO5WoF7OmiRdLRRrIXMzg276Pgeq1L3Offcl0W2jg=";
10 };
1112 installPhase = ''
13 mkdir -p $out/etc/fonts/conf.d
14 mkdir -p $out/share/fonts/truetype
15- cp -v $src/*.ttf $out/share/fonts/truetype
16 cp -v ${./calibri-alias.conf} $out/etc/fonts/conf.d/30-calibri.conf
17 '';
18···28 '';
29 license = licenses.ofl;
30 platforms = platforms.all;
31- maintainers = [maintainers.rycee];
3233 # Reduce the priority of this package. The intent is that if you
34 # also install the `vista-fonts` package, then you probably will
···1+{ lib, fetchurl, stdenvNoCC }:
23stdenvNoCC.mkDerivation rec {
4 pname = "carlito";
5 version = "20130920";
67+ src = fetchurl {
8 url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-${version}.tar.gz";
9+ sha256 = "sha256-S9ErbLwyHBzxbaduLFhcklzpVqCAZ65vbGTv9sz9r1o=";
10 };
1112 installPhase = ''
13 mkdir -p $out/etc/fonts/conf.d
14 mkdir -p $out/share/fonts/truetype
15+ cp -v *.ttf $out/share/fonts/truetype
16 cp -v ${./calibri-alias.conf} $out/etc/fonts/conf.d/30-calibri.conf
17 '';
18···28 '';
29 license = licenses.ofl;
30 platforms = platforms.all;
31+ maintainers = [ maintainers.rycee ];
3233 # Reduce the priority of this package. The intent is that if you
34 # also install the `vista-fonts` package, then you probably will
···1-{ lib, fetchzip }:
23-let
4 pname = "unfonts-core";
5 version = "1.0.2-080608";
6-in fetchzip {
7- name = "${pname}-${version}";
8- url = "https://kldp.net/unfonts/release/2607-un-fonts-core-${version}.tar.gz";
9- hash = "sha256-k9C7d/SbVLWFzRnDWpOIMtY6cAEIcaLcbxQAqjwuWds=";
1011- postFetch = ''
12- tar -xzf $downloadedFile --strip-components=1
0000000013 install -m444 -Dt $out/share/fonts/truetype *.ttf
0014 '';
1516 meta = with lib; {
···20 The Un-fonts come from the HLaTeX as type1 fonts in 1998 by Koaunghi Un, he made type1 fonts to use with Korean TeX (HLaTeX) in the late 1990's and released it under the GPL license.
2122 They were converted to TrueType with the FontForge (PfaEdit) by Won-kyu Park in 2003.
23- '';
24 license = licenses.gpl2;
25 platforms = platforms.all;
26 maintainers = [ maintainers.ehmry ];
···1+{ lib, stdenvNoCC, fetchurl }:
23+stdenvNoCC.mkDerivation rec {
4 pname = "unfonts-core";
5 version = "1.0.2-080608";
000067+ src = fetchurl {
8+ url = "https://kldp.net/unfonts/release/2607-un-fonts-core-${version}.tar.gz";
9+ hash = "sha256-OwpydPmqt+jw8ZOMAacOFYF2bVG0lLoUVoPzesVXkY4=";
10+ };
11+12+ dontBuild = true;
13+14+ installPhase = ''
15+ runHook preInstall
16+17 install -m444 -Dt $out/share/fonts/truetype *.ttf
18+19+ runHook postInstall
20 '';
2122 meta = with lib; {
···26 The Un-fonts come from the HLaTeX as type1 fonts in 1998 by Koaunghi Un, he made type1 fonts to use with Korean TeX (HLaTeX) in the late 1990's and released it under the GPL license.
2728 They were converted to TrueType with the FontForge (PfaEdit) by Won-kyu Park in 2003.
29+ '';
30 license = licenses.gpl2;
31 platforms = platforms.all;
32 maintainers = [ maintainers.ehmry ];
+15-8
pkgs/data/fonts/vdrsymbols/default.nix
···1-{ lib, fetchzip }:
000023-fetchzip {
4- name = "vdrsymbols-20100612";
000056- url = "http://andreas.vdr-developer.org/fonts/download/vdrsymbols-ttf-20100612.tgz";
078- sha256 = "0wpxns8zqic98c84j18dr4zmj092v07yq07vwwgzblr0rw9n6gzr";
910- postFetch = ''
11- tar xvzf "$downloadedFile"
12- install -Dm444 -t "$out/share/fonts/truetype" */*.ttf
13 '';
1415 meta = with lib; {