···1-# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
2-{ lib, fetchzip }:
34-let
05 version = "1.0.2";
6-in (fetchzip {
7- name = "andagii-${version}";
000000000089- url = "http://www.i18nguy.com/unicode/andagii.zip";
10- curlOpts = "--user-agent 'Mozilla/5.0'";
11- sha256 = "0j5kf2fmyqgnf5ji6h0h79lq9n9d85hkfrr4ya8hqj4gwvc0smb2";
1213 # There are multiple claims that the font is GPL, so I include the
14 # package; but I cannot find the original source, so use it on your
···20 license = "unknown";
21 platforms = platforms.all;
22 };
23-}).overrideAttrs (_: {
24- postFetch = ''
25- unzip $downloadedFile
26- mkdir -p $out/share/fonts/truetype
27- cp -v ANDAGII_.TTF $out/share/fonts/truetype/andagii.ttf
28- '';
29-})
···1+{ lib, stdenvNoCC, fetchzip }:
023+stdenvNoCC.mkDerivation rec {
4+ pname = "andagii";
5 version = "1.0.2";
6+7+ src = fetchzip {
8+ url = "http://www.i18nguy.com/unicode/andagii.zip";
9+ curlOpts = "--user-agent 'Mozilla/5.0'";
10+ hash = "sha256-U7wC55G8jIvMMyPcEiJQ700A7nkWdgWK1LM0F/wgDCg=";
11+ };
12+13+ installPhase = ''
14+ runHook preInstall
15+16+ mkdir -p $out/share/fonts/truetype
17+ cp -v ANDAGII_.TTF $out/share/fonts/truetype/andagii.ttf
1819+ runHook postInstall
20+ '';
02122 # There are multiple claims that the font is GPL, so I include the
23 # package; but I cannot find the original source, so use it on your
···29 license = "unknown";
30 platforms = platforms.all;
31 };
32+}
000000
+23-23
pkgs/data/fonts/andika/default.nix
···1-# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
2-{ lib, fetchzip }:
34-let
05 version = "6.101";
6- name = "andika-${version}";
7-in
8- (fetchzip rec {
9- inherit name;
10011 url = "https://software.sil.org/downloads/r/andika/Andika-${version}.zip";
001213- sha256 = "sha256-J/Ad+fmCMOxLoo+691LE6Bgi/l3ovIfWScwwVWtqACI=";
00001415- meta = with lib; {
16- homepage = "https://software.sil.org/andika";
17- description = "A family designed especially for literacy use taking into account the needs of beginning readers";
18- longDescription = ''
00019 Andika is a sans serif, Unicode-compliant font designed especially for literacy use, taking into account the needs of beginning readers. The focus is on clear, easy-to-perceive letterforms that will not be readily confused with one another.
2021 A sans serif font is preferred by some literacy personnel for teaching people to read. Its forms are simpler and less cluttered than those of most serif fonts. For years, literacy workers have had to make do with fonts that were not really suitable for beginning readers and writers. In some cases, literacy specialists have had to tediously assemble letters from a variety of fonts in order to get all of the characters they need for their particular language project, resulting in confusing and unattractive publications. Andika addresses those issues.
22- '';
23- license = licenses.ofl;
24- platforms = platforms.all;
25- maintainers = [ maintainers.f--t ];
26- };
27- }).overrideAttrs (_: {
28- postFetch = ''
29- mkdir -p $out/share/{doc,fonts}
30- unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
31- unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
32 '';
33- })
0000
···1+{ lib, stdenvNoCC, fetchzip }:
023+stdenvNoCC.mkDerivation rec {
4+ pname = "andika";
5 version = "6.101";
000067+ src = fetchzip {
8 url = "https://software.sil.org/downloads/r/andika/Andika-${version}.zip";
9+ hash = "sha256-LghkGd/cjuXghzsU9X/YneNIdBeDEnu0ARszipANm8w=";
10+ };
1112+ installPhase = ''
13+ runHook preInstall
14+15+ install -Dm644 *.ttf -t $out/share/fonts/truetype
16+ install -Dm644 *OFL.txt *OFL-FAQ.txt *README.txt *FONTLOG.txt -t $out/share/doc/${pname}-${version}
1718+ runHook postInstall
19+ '';
20+21+ meta = with lib; {
22+ homepage = "https://software.sil.org/andika";
23+ description = "A family designed especially for literacy use taking into account the needs of beginning readers";
24+ longDescription = ''
25 Andika is a sans serif, Unicode-compliant font designed especially for literacy use, taking into account the needs of beginning readers. The focus is on clear, easy-to-perceive letterforms that will not be readily confused with one another.
2627 A sans serif font is preferred by some literacy personnel for teaching people to read. Its forms are simpler and less cluttered than those of most serif fonts. For years, literacy workers have had to make do with fonts that were not really suitable for beginning readers and writers. In some cases, literacy specialists have had to tediously assemble letters from a variety of fonts in order to get all of the characters they need for their particular language project, resulting in confusing and unattractive publications. Andika addresses those issues.
000000000028 '';
29+ license = licenses.ofl;
30+ platforms = platforms.all;
31+ maintainers = [ maintainers.f--t ];
32+ };
33+}
+19-14
pkgs/data/fonts/ankacoder/default.nix
···1-# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
2-{ lib, fetchzip }:
00000000034-let version = "1.100"; in
5-(fetchzip {
6- name = "ankacoder-${version}";
7- url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/anka-coder-fonts/AnkaCoder.${version}.zip";
089- sha256 = "1jqx9micfmiarqh9xp330gl96v3vxbwzz9cmg2vi845n9md4im85";
01011 meta = with lib; {
12 description = "Anka/Coder fonts";
···15 maintainers = with maintainers; [ dtzWill ];
16 platforms = platforms.all;
17 };
18-}).overrideAttrs (_: {
19- postFetch = ''
20- unzip $downloadedFile
21- mkdir -p $out/share/fonts/truetype
22- cp *.ttf $out/share/fonts/truetype
23- '';
24-})
···1-# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
2-{ lib, fetchzip }:
34-let
05 version = "1.204";
6- name = "annapurna-sil-${version}";
7-in
8- (fetchzip rec {
9- inherit name;
10011 url = "https://software.sil.org/downloads/r/annapurna/AnnapurnaSIL-${version}.zip";
001213- sha256 = "sha256-kVeP9ZX8H+Wn6jzmH1UQvUKY6vJjadMTdEusS7LodFM=";
01415- meta = with lib; {
16- homepage = "https://software.sil.org/annapurna";
17- description = "Unicode-based font family with broad support for writing systems that use the Devanagari script";
18- longDescription = ''
19- Annapurna SIL is a Unicode-based font family with broad support for writing systems that use the Devanagari script. Inspired by traditional calligraphic forms, the design is intended to be highly readable, reasonably compact, and visually attractive.
20- '';
21- license = licenses.ofl;
22- platforms = platforms.all;
23- maintainers = [ maintainers.kmein ];
24- };
25- }).overrideAttrs (_: {
26- postFetch = ''
27- mkdir -p $out/share/{doc,fonts}
28- unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
29- unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
30 '';
31- })
0000
···1+{ lib, stdenvNoCC, fetchzip }:
023+stdenvNoCC.mkDerivation rec {
4+ pname = "annapurna-sil";
5 version = "1.204";
000067+ src = fetchzip {
8 url = "https://software.sil.org/downloads/r/annapurna/AnnapurnaSIL-${version}.zip";
9+ hash = "sha256-4ya3Iydrz5Pvol9sTDIe9ZW5k3+XQp8GB2LAnRpeiXs=";
10+ };
1112+ installPhase = ''
13+ runHook preInstall
1415+ install -Dm644 *.ttf -t $out/share/fonts/truetype
16+ install -Dm644 *OFL.txt *OFL-FAQ.txt *README.txt *FONTLOG.txt -t $out/share/doc/${pname}-${version}
17+18+ runHook postInstall
19+ '';
20+21+ meta = with lib; {
22+ homepage = "https://software.sil.org/annapurna";
23+ description = "Unicode-based font family with broad support for writing systems that use the Devanagari script";
24+ longDescription = ''
25+ Annapurna SIL is a Unicode-based font family with broad support for writing systems that use the Devanagari script. Inspired by traditional calligraphic forms, the design is intended to be highly readable, reasonably compact, and visually attractive.
000026 '';
27+ license = licenses.ofl;
28+ platforms = platforms.all;
29+ maintainers = [ maintainers.kmein ];
30+ };
31+}
+18-14
pkgs/data/fonts/babelstone-han/default.nix
···1-# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
2-{ lib, fetchzip }:
34-let
05 version = "13.0.3";
6-in (fetchzip {
7- name = "babelstone-han-${version}";
89- # upstream download links are unversioned, so hash changes
10- url = "https://web.archive.org/web/20200210125314/https://www.babelstone.co.uk/Fonts/Download/BabelStoneHan.zip";
11- sha256 = "018isk3hbzsihzrxavgjbn485ngzvlm96npqx9y7zpkxsssslc4w";
000000000001213 meta = with lib; {
14 description = "Unicode CJK font with over 36000 Han characters";
···18 platforms = platforms.all;
19 maintainers = with maintainers; [ emily ];
20 };
21-}).overrideAttrs (_: {
22- postFetch = ''
23- mkdir -p $out/share/fonts/truetype
24- unzip $downloadedFile '*.ttf' -d $out/share/fonts/truetype
25- '';
26-})
···1+{ lib, stdenvNoCC, fetchzip }:
023+stdenvNoCC.mkDerivation {
4+ pname = "babelstone-han";
5 version = "13.0.3";
0067+ src = fetchzip {
8+ # upstream download links are unversioned, so hash changes
9+ url = "https://web.archive.org/web/20200210125314/https://www.babelstone.co.uk/Fonts/Download/BabelStoneHan.zip";
10+ hash = "sha256-LLhNtHu2hh5DY2XVSrLuVzzR6OtMdSSHetyA0k1IFs0=";
11+ };
12+13+ installPhase = ''
14+ runHook preInstall
15+16+ mkdir -p $out/share/fonts/truetype
17+ cp *.ttf $out/share/fonts/truetype
18+19+ runHook postInstall
20+ '';
2122 meta = with lib; {
23 description = "Unicode CJK font with over 36000 Han characters";
···27 platforms = platforms.all;
28 maintainers = with maintainers; [ emily ];
29 };
30+}
00000
···1-# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
2-{ lib, fetchzip }:
3-let
04 version = "2111.01";
5-in
6-(fetchzip {
7- name = "cascadia-code-${version}";
00000089- url = "https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaCode-${version}.zip";
01011- sha256 = "sha256-kUVTQ/oMZztNf22sDbQBpQW0luSc5nr5sxWU5etLDec=";
01213 meta = with lib; {
14 description = "Monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal";
···18 maintainers = [ maintainers.marsam ];
19 platforms = platforms.all;
20 };
21-}).overrideAttrs (_: {
22- postFetch = ''
23- mkdir -p $out/share/fonts/
24- unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
25- unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
26- '';
27-})
···1+{ lib, stdenvNoCC, fetchzip }:
2+3+stdenvNoCC.mkDerivation rec {
4+ pname = "cascadia-code";
5 version = "2111.01";
6+7+ src = fetchzip {
8+ url = "https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaCode-${version}.zip";
9+ stripRoot = false;
10+ hash = "sha256-v9Vm5X80wEvorMhIlRw3MnyuSOdBpTl9ibBPpmm1vig=";
11+ };
12+13+ installPhase = ''
14+ runHook preInstall
1516+ install -Dm644 otf/static/*.otf -t $out/share/fonts/opentype
17+ install -Dm644 ttf/static/*.ttf -t $out/share/fonts/truetype
1819+ runHook postInstall
20+ '';
2122 meta = with lib; {
23 description = "Monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal";
···27 maintainers = [ maintainers.marsam ];
28 platforms = platforms.all;
29 };
30+}
000000
+23-23
pkgs/data/fonts/charis-sil/default.nix
···1-# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
2-{ lib, fetchzip }:
34-let
05 version = "6.101";
6- name = "charis-sil-${version}";
7-in
8- (fetchzip rec {
9- inherit name;
10011 url = "https://software.sil.org/downloads/r/charis/CharisSIL-${version}.zip";
001213- sha256 = "sha256-b1ms9hJ6IPe7W6O9KgzHZvwT4/nAoLOhdydcUrwNfnU=";
00001415- meta = with lib; {
16- homepage = "https://software.sil.org/charis";
17- description = "A family of highly readable fonts for broad multilingual use";
18- longDescription = ''
00019 This Charis SIL font is essentially the same design as the SIL Charis font first released by SIL in 1997. Charis is similar to Bitstream Charter, one of the first fonts designed specifically for laser printers. It is highly readable and holds up well in less-than-ideal reproduction environments. It also has a full set of styles – regular, italic, bold, bold italic. Charis is a serif, proportionally-spaced font optimized for readability in long printed documents.
2021 The goal for this product was to provide a single Unicode-based font family that would contain a comprehensive inventory of glyphs needed for almost any Roman- or Cyrillic-based writing system, whether used for phonetic or orthographic needs. In addition, there is provision for other characters and symbols useful to linguists. This font makes use of state-of-the-art font technologies to support complex typographic issues, such as the need to position arbitrary combinations of base glyphs and diacritics optimally.
22- '';
23- license = licenses.ofl;
24- platforms = platforms.all;
25- maintainers = [ maintainers.f--t ];
26- };
27- }).overrideAttrs (_: {
28- postFetch = ''
29- mkdir -p $out/share/{doc,fonts}
30- unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
31- unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
32 '';
33- })
0000
···1+{ lib, stdenvNoCC, fetchzip }:
023+stdenvNoCC.mkDerivation rec {
4+ pname = "charis-sil";
5 version = "6.101";
000067+ src = fetchzip {
8 url = "https://software.sil.org/downloads/r/charis/CharisSIL-${version}.zip";
9+ hash = "sha256-Rf5eKQVZw7zgTv6KkJUdNdd4sSJPdvjy/GDLusvlgzE=";
10+ };
1112+ installPhase = ''
13+ runHook preInstall
14+15+ install -Dm644 *.ttf -t $out/share/fonts/truetype
16+ install -Dm644 *OFL.txt *OFL-FAQ.txt *README.txt *FONTLOG.txt -t $out/share/doc/${pname}-${version}
1718+ runHook postInstall
19+ '';
20+21+ meta = with lib; {
22+ homepage = "https://software.sil.org/charis";
23+ description = "A family of highly readable fonts for broad multilingual use";
24+ longDescription = ''
25 This Charis SIL font is essentially the same design as the SIL Charis font first released by SIL in 1997. Charis is similar to Bitstream Charter, one of the first fonts designed specifically for laser printers. It is highly readable and holds up well in less-than-ideal reproduction environments. It also has a full set of styles – regular, italic, bold, bold italic. Charis is a serif, proportionally-spaced font optimized for readability in long printed documents.
2627 The goal for this product was to provide a single Unicode-based font family that would contain a comprehensive inventory of glyphs needed for almost any Roman- or Cyrillic-based writing system, whether used for phonetic or orthographic needs. In addition, there is provision for other characters and symbols useful to linguists. This font makes use of state-of-the-art font technologies to support complex typographic issues, such as the need to position arbitrary combinations of base glyphs and diacritics optimally.
000000000028 '';
29+ license = licenses.ofl;
30+ platforms = platforms.all;
31+ maintainers = [ maintainers.f--t ];
32+ };
33+}
+22-19
pkgs/data/fonts/comic-relief/default.nix
···1-# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
2-{ lib, fetchzip }:
34-let
05 version = "1.1";
6- name = "comic-relief-${version}";
7-in (fetchzip rec {
8- inherit name;
000910- url = "https://fontlibrary.org/assets/downloads/comic-relief/45c456b6db2aaf2f7f69ac66b5ac7239/comic-relief.zip";
000000001112- sha256 = "0dz0y7w6mq4hcmmxv6fn4mp6jkln9mzr4s96vsg68wrl5b7k9yff";
01314 meta = with lib; {
15 homepage = "https://fontlibrary.org/en/font/comic-relief";
···23 '';
24 license = licenses.ofl;
25 platforms = platforms.all;
26- maintainers = [maintainers.rycee];
2728 # Reduce the priority of this package. The intent is that if you
29 # also install the `corefonts` package, then you probably will not
30 # want to install the font alias of this package.
31 priority = 10;
32 };
33-}).overrideAttrs (_: {
34- postFetch = ''
35- mkdir -p $out/etc/fonts/conf.d
36- mkdir -p $out/share/doc/${name}
37- mkdir -p $out/share/fonts/truetype
38- cp -v ${./comic-sans-ms-alias.conf} $out/etc/fonts/conf.d/30-comic-sans-ms.conf
39- unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
40- unzip -j $downloadedFile FONTLOG.txt -d $out/share/doc/${name}
41- '';
42-})
···1+{ lib, stdenvNoCC, fetchzip }:
023+stdenvNoCC.mkDerivation rec {
4+ pname = "comic-relief";
5 version = "1.1";
6+7+ src = fetchzip {
8+ url = "https://fontlibrary.org/assets/downloads/comic-relief/45c456b6db2aaf2f7f69ac66b5ac7239/comic-relief.zip";
9+ stripRoot = false;
10+ hash = "sha256-lvkMfaQvLMZ8F0Q5JnpmMsIAkR+XfihoHIoS4z5QEvA=";
11+ };
1213+ installPhase = ''
14+ runHook preInstall
15+16+ mkdir -p $out/etc/fonts/conf.d
17+ mkdir -p $out/share/doc/${pname}-${version}
18+ mkdir -p $out/share/fonts/truetype
19+ cp -v ${./comic-sans-ms-alias.conf} $out/etc/fonts/conf.d/30-comic-sans-ms.conf
20+ cp *.ttf -d $out/share/fonts/truetype
21+ cp FONTLOG.txt -d $out/share/doc/${pname}-${version}
2223+ runHook postInstall
24+ '';
2526 meta = with lib; {
27 homepage = "https://fontlibrary.org/en/font/comic-relief";
···35 '';
36 license = licenses.ofl;
37 platforms = platforms.all;
38+ maintainers = [ maintainers.rycee ];
3940 # Reduce the priority of this package. The intent is that if you
41 # also install the `corefonts` package, then you probably will not
42 # want to install the font alias of this package.
43 priority = 10;
44 };
45+}
000000000
+17-15
pkgs/data/fonts/courier-prime/default.nix
···1-# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
2-{ lib, fetchzip }:
34-let
05 version = "unstable-2019-12-05";
6- repo = "CourierPrime";
7- rev = "7f6d46a766acd9391d899090de467c53fd9c9cb0";
8-in (fetchzip rec {
9- name = "courier-prime-${version}";
10- url = "https://github.com/quoteunquoteapps/${repo}/archive/${rev}/${name}.zip";
11- sha256 = "1xh4pkksm6zrafhb69q4lq093q6pl245zi9qhqw3x6c1ab718704";
00000001213 meta = with lib; {
14 description = "Monospaced font designed specifically for screenplays";
···17 maintainers = [ maintainers.austinbutler ];
18 platforms = platforms.all;
19 };
20-}).overrideAttrs (_: {
21- postFetch = ''
22- unzip $downloadedFile
23- install -m444 -Dt $out/share/fonts/truetype ${repo}-${rev}/fonts/ttf/*.ttf
24- '';
25-})
···1-# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
2-{ lib, fetchzip }:
34-let
5- version = "1.3.2";
6 pname = "d2codingfont";
000000000078-in (fetchzip {
9- name = "${pname}-${version}";
10- url = "https://github.com/naver/${pname}/releases/download/VER${version}/D2Coding-Ver${version}-20180524.zip";
1112- sha256 = "1812r82530wzfki7k9cm35fy6k2lvis7j6w0w8svc784949m1wwj";
01314 meta = with lib; {
15 description = "Monospace font with support for Korean and latin characters";
···25 platforms = platforms.all;
26 maintainers = with maintainers; [ dtzWill ];
27 };
28-}).overrideAttrs (_: {
29- postFetch = ''
30- mkdir -p $out/share/fonts
31- unzip -j $downloadedFile \*-all.ttc -d $out/share/fonts/truetype/
32- '';
33-})
···1+{ lib, stdenvNoCC, fetchzip }:
023+stdenvNoCC.mkDerivation rec {
04 pname = "d2codingfont";
5+ version = "1.3.2";
6+7+ src = fetchzip {
8+ url = "https://github.com/naver/${pname}/releases/download/VER${version}/D2Coding-Ver${version}-20180524.zip";
9+ stripRoot = false;
10+ hash = "sha256-iC6iaUSVg4zt3wVFJUU4HEeswuKDOTFsAxq/0gRiOCA=";
11+ };
12+13+ installPhase = ''
14+ runHook preInstall
1516+ mkdir -p $out/share/fonts
17+ install -Dm644 */*-all.ttc -t $out/share/fonts/truetype/
01819+ runHook postInstall
20+ '';
2122 meta = with lib; {
23 description = "Monospace font with support for Korean and latin characters";
···33 platforms = platforms.all;
34 maintainers = with maintainers; [ dtzWill ];
35 };
36+}
00000
+23-23
pkgs/data/fonts/doulos-sil/default.nix
···1-# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
2-{ lib, fetchzip }:
34-let
05 version = "6.101";
6- name = "doulos-sil-${version}";
7-in
8- (fetchzip rec {
9- inherit name;
10011 url = "https://software.sil.org/downloads/r/doulos/DoulosSIL-${version}.zip";
001213- sha256 = "sha256-vYdnudMkkWz6r8pwq98fyO0zcfFBRPmrqlmWxHCOIcc=";
00001415- meta = with lib; {
16- homepage = "https://software.sil.org/doulos";
17- description = "A font that provides complete support for the International Phonetic Alphabet";
18- longDescription = ''
00019 This Doulos SIL font is essentially the same design as the SIL Doulos font first released by SIL in 1992. The design has been changed from the original in that it has been scaled down to be a better match with contemporary digital fonts, such as Times New Roman®. This current release is a regular typeface, with no bold or italic version available or planned. It is intended for use alongside other Times-like fonts where a range of styles (italic, bold) are not needed. Therefore, just one font is included in the Doulos SIL release: Doulos SIL Regular.
2021 The goal for this product was to provide a single Unicode-based font family that would contain a comprehensive inventory of glyphs needed for almost any Roman- or Cyrillic-based writing system, whether used for phonetic or orthographic needs. In addition, there is provision for other characters and symbols useful to linguists. This font makes use of state-of-the-art font technologies to support complex typographic issues, such as the need to position arbitrary combinations of base glyphs and diacritics optimally.
22- '';
23- license = licenses.ofl;
24- platforms = platforms.all;
25- maintainers = [ maintainers.f--t ];
26- };
27- }).overrideAttrs (_: {
28- postFetch = ''
29- mkdir -p $out/share/{doc,fonts}
30- unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
31- unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
32 '';
33- })
0000
···1+{ lib, stdenvNoCC, fetchzip }:
023+stdenvNoCC.mkDerivation rec {
4+ pname = "doulos-sil";
5 version = "6.101";
000067+ src = fetchzip {
8 url = "https://software.sil.org/downloads/r/doulos/DoulosSIL-${version}.zip";
9+ hash = "sha256-CPjk6SLgsDYjachZZ1hanp6Q+cxTxfHOkoeU59Om5b8=";
10+ };
1112+ installPhase = ''
13+ runHook preInstall
14+15+ install -Dm644 *.ttf -t $out/share/fonts/truetype
16+ install -Dm644 *OFL.txt *OFL-FAQ.txt *README.txt *FONTLOG.txt -t $out/share/doc/${pname}-${version}
1718+ runHook postInstall
19+ '';
20+21+ meta = with lib; {
22+ homepage = "https://software.sil.org/doulos";
23+ description = "A font that provides complete support for the International Phonetic Alphabet";
24+ longDescription = ''
25 This Doulos SIL font is essentially the same design as the SIL Doulos font first released by SIL in 1992. The design has been changed from the original in that it has been scaled down to be a better match with contemporary digital fonts, such as Times New Roman®. This current release is a regular typeface, with no bold or italic version available or planned. It is intended for use alongside other Times-like fonts where a range of styles (italic, bold) are not needed. Therefore, just one font is included in the Doulos SIL release: Doulos SIL Regular.
2627 The goal for this product was to provide a single Unicode-based font family that would contain a comprehensive inventory of glyphs needed for almost any Roman- or Cyrillic-based writing system, whether used for phonetic or orthographic needs. In addition, there is provision for other characters and symbols useful to linguists. This font makes use of state-of-the-art font technologies to support complex typographic issues, such as the need to position arbitrary combinations of base glyphs and diacritics optimally.
000000000028 '';
29+ license = licenses.ofl;
30+ platforms = platforms.all;
31+ maintainers = [ maintainers.f--t ];
32+ };
33+}
+17-15
pkgs/data/fonts/eb-garamond/default.nix
···1-# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
2-{ lib, fetchzip }:
34-let
05 version = "0.016";
6- name = "eb-garamond-${version}";
7-in (fetchzip rec {
8- inherit name;
910- url = "https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-${version}.zip";
0001112- sha256 = "04jq4mpln85zzbla8ybsjw7vn9qr3r0snmk5zykrm24imq7ripv3";
000000001314 meta = with lib; {
15 homepage = "http://www.georgduffner.at/ebgaramond/";
···18 license = licenses.ofl;
19 platforms = platforms.all;
20 };
21-}).overrideAttrs (_: {
22- postFetch = ''
23- mkdir -p $out/share/{doc,fonts}
24- unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
25- unzip -j $downloadedFile \*Changes \*README.markdown \*README.xelualatex -d "$out/share/doc/${name}"
26- '';
27-})