treewide: convert 26 fonts to stdenvNoCC.mkDerivation

+454 -391
+17 -15
pkgs/data/fonts/fraunces/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 - let 4 version = "1.000"; 5 - in 6 - (fetchzip { 7 - name = "fraunces-${version}"; 8 9 - url = "https://github.com/undercasetype/Fraunces/releases/download/${version}/UnderCaseType_Fraunces_${version}.zip"; 10 11 - sha256 = "0qgl140qkn9p87x7pk60fd3lj206y5h0fq2xkcj2qiv3sxbqxwqb"; 12 13 meta = with lib; { 14 description = "A display, “Old Style” soft-serif typeface inspired by early 20th century typefaces"; ··· 17 maintainers = [ maintainers.marsam ]; 18 platforms = platforms.all; 19 }; 20 - }).overrideAttrs (_: { 21 - postFetch = '' 22 - mkdir -p $out/share/fonts/ 23 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype 24 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype 25 - ''; 26 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "fraunces"; 5 version = "1.000"; 6 7 + src = fetchzip { 8 + url = "https://github.com/undercasetype/Fraunces/releases/download/${version}/UnderCaseType_Fraunces_${version}.zip"; 9 + hash = "sha256-hu2G4Fs2I3TMEy/EBFnc88Pv3c8Mpc5rm3OwVvol7gQ="; 10 + }; 11 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + install -Dm644 *Desktop/static/otf/*.otf -t $out/share/fonts/opentype 16 + install -Dm644 *Desktop/static/ttf/*.ttf *Desktop/*.ttf -t $out/share/fonts/truetype 17 + 18 + runHook postInstall 19 + ''; 20 21 meta = with lib; { 22 description = "A display, “Old Style” soft-serif typeface inspired by early 20th century typefaces"; ··· 25 maintainers = [ maintainers.marsam ]; 26 platforms = platforms.all; 27 }; 28 + }
+24 -24
pkgs/data/fonts/galatia-sil/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 version = "2.1"; 6 - name = "galatia-sil-${version}"; 7 - in 8 - (fetchzip rec { 9 - inherit name; 10 11 url = "https://software.sil.org/downloads/r/galatia/GalatiaSIL-${version}.zip"; 12 13 - sha256 = "sha256-zLL/7LMcJul2LilhEafpvm+tiYlgv1y1jj85VvG+wiI="; 14 15 - meta = with lib; { 16 - homepage = "https://software.sil.org/galatia"; 17 - description = "Font designed to support Biblical Polytonic Greek"; 18 - longDescription = '' 19 - Galatia SIL, designed to support Biblical Polytonic Greek, is a Unicode 3.1 font released under the SIL Open Font License. The font supports precomposed characters rather than decomposed characters. Thus, you must use a keyboard that outputs NFC encoding (precomposed). 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 \*FONTLOG.txt -d "$out/share/doc/${name}" 30 ''; 31 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "galatia-sil"; 5 version = "2.1"; 6 7 + src = fetchzip { 8 url = "https://software.sil.org/downloads/r/galatia/GalatiaSIL-${version}.zip"; 9 + hash = "sha256-7kXnTC5vpUOjcT40oNW6e32zFGejlWJq1J+p+5DiAos="; 10 + }; 11 12 + installPhase = '' 13 + runHook preInstall 14 15 + install -Dm644 $downloadedFile *.ttf -t $out/share/fonts/truetype 16 + install -Dm644 $downloadedFile OFL.txt OFL-FAQ.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/galatia"; 23 + description = "Font designed to support Biblical Polytonic Greek"; 24 + longDescription = '' 25 + Galatia SIL, designed to support Biblical Polytonic Greek, is a Unicode 3.1 font released under the SIL Open Font License. The font supports precomposed characters rather than decomposed characters. Thus, you must use a keyboard that outputs NFC encoding (precomposed). 26 ''; 27 + license = licenses.ofl; 28 + platforms = platforms.all; 29 + maintainers = [ maintainers.kmein ]; 30 + }; 31 + }
+18 -18
pkgs/data/fonts/gentium-book-basic/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 - major = "1"; 6 - minor = "102"; 7 - version = "${major}.${minor}"; 8 - name = "gentium-book-basic-${version}"; 9 - in (fetchzip rec { 10 - inherit name; 11 12 - url = "http://software.sil.org/downloads/r/gentium/GentiumBasic_${major}${minor}.zip"; 13 14 - sha256 = "0598zr5f7d6ll48pbfbmmkrybhhdks9b2g3m2g67wm40070ffzmd"; 15 16 meta = with lib; { 17 homepage = "https://software.sil.org/gentium/"; ··· 20 license = licenses.ofl; 21 platforms = platforms.all; 22 }; 23 - }).overrideAttrs (_: { 24 - postFetch = '' 25 - mkdir -p $out/share/{doc,fonts} 26 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype 27 - unzip -j $downloadedFile \*/FONTLOG.txt \*/GENTIUM-FAQ.txt -d $out/share/doc/${name} 28 - ''; 29 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "gentium-book-basic"; 5 + version = "1.102"; 6 7 + src = fetchzip { 8 + url = "http://software.sil.org/downloads/r/gentium/GentiumBasic_${lib.versions.major version}${lib.versions.minor version}.zip"; 9 + hash = "sha256-oCmpl95MJRfCV25cg/4cf8AwQWnoymXasSss1ziOPoE="; 10 + }; 11 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + mkdir -p $out/share/{doc,fonts} 16 + install -Dm644 *.ttf -t $out/share/fonts/truetype 17 + install -Dm644 FONTLOG.txt GENTIUM-FAQ.txt -t $out/share/doc/${pname}-${version} 18 + 19 + runHook postInstall 20 + ''; 21 22 meta = with lib; { 23 homepage = "https://software.sil.org/gentium/"; ··· 26 license = licenses.ofl; 27 platforms = platforms.all; 28 }; 29 + }
+17 -25
pkgs/data/fonts/gentium/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 version = "6.101"; 6 - name = "gentium-${version}"; 7 - in (fetchzip rec { 8 - inherit name; 9 10 - url = "http://software.sil.org/downloads/r/gentium/GentiumPlus-${version}.zip"; 11 12 - sha256 = "sha256-+T5aUlqQYDWRp4/4AZzsREHgjAnOeUB6qn1GAI0A5hE="; 13 14 meta = with lib; { 15 homepage = "https://software.sil.org/gentium/"; ··· 34 license = licenses.ofl; 35 platforms = platforms.all; 36 }; 37 - }).overrideAttrs (_: { 38 - postFetch = '' 39 - mkdir -p $out/share/{doc,fonts} 40 - unzip -l $downloadedFile 41 - unzip -j $downloadedFile \*.ttf \ 42 - -d $out/share/fonts/truetype 43 - unzip -j $downloadedFile \ 44 - \*/FONTLOG.txt \ 45 - \*/README.txt \ 46 - -d $out/share/doc/${name} 47 - unzip -j $downloadedFile \ 48 - \*/documentation/\*.html \ 49 - \*/documentation/\*.txt \ 50 - -x \*/documentation/source/\* \ 51 - -d $out/share/doc/${name}/documentation 52 - ''; 53 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "gentium"; 5 version = "6.101"; 6 + 7 + src = fetchzip { 8 + url = "http://software.sil.org/downloads/r/gentium/GentiumPlus-${version}.zip"; 9 + hash = "sha256-iKD1Q7/lsbZCuJQoJqySQHwplrHv8yzmph+QwKpYgMU="; 10 + }; 11 12 + installPhase = '' 13 + runHook preInstall 14 15 + install -Dm644 *.ttf -t $out/share/fonts/truetype 16 + install -Dm644 FONTLOG.txt README.txt -t $out/share/doc/${pname}-${version} 17 + cp -r documentation $out/share/doc/${pname}-${version} 18 + 19 + runHook postInstall 20 + ''; 21 22 meta = with lib; { 23 homepage = "https://software.sil.org/gentium/"; ··· 42 license = licenses.ofl; 43 platforms = platforms.all; 44 }; 45 + }
+16 -14
pkgs/data/fonts/hack/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 version = "3.003"; 6 - in (fetchzip { 7 - name = "hack-font-${version}"; 8 9 - url = "https://github.com/chrissimpkins/Hack/releases/download/v${version}/Hack-v${version}-ttf.zip"; 10 11 - sha256 = "1l6ih6v7dqali5c7zh6z2xnbf9h2wz0ag6fdgszmqd5lnhw39v6s"; 12 13 meta = with lib; { 14 description = "A typeface designed for source code"; ··· 22 homepage = "https://sourcefoundry.org/hack/"; 23 24 /* 25 - "The font binaries are released under a license that permits unlimited 26 print, desktop, and web use for commercial and non-commercial 27 applications. It may be embedded and distributed in documents and 28 applications. The source is released in the widely supported UFO format ··· 33 maintainers = with maintainers; [ dywedir ]; 34 platforms = platforms.all; 35 }; 36 - }).overrideAttrs (_: { 37 - postFetch = '' 38 - mkdir -p $out/share/fonts 39 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/hack 40 - ''; 41 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "hack-font"; 5 version = "3.003"; 6 7 + src = fetchzip { 8 + url = "https://github.com/chrissimpkins/Hack/releases/download/v${version}/Hack-v${version}-ttf.zip"; 9 + hash = "sha256-SxF4kYp9aL/9L9EUniquFadzWt/+PcvhUQOIOvCrFRM="; 10 + }; 11 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + install -Dm644 *.ttf -t $out/share/fonts/hack 16 + 17 + runHook postInstall 18 + ''; 19 20 meta = with lib; { 21 description = "A typeface designed for source code"; ··· 29 homepage = "https://sourcefoundry.org/hack/"; 30 31 /* 32 + "The font binaries are released under a license that permits unlimited 33 print, desktop, and web use for commercial and non-commercial 34 applications. It may be embedded and distributed in documents and 35 applications. The source is released in the widely supported UFO format ··· 40 maintainers = with maintainers; [ dywedir ]; 41 platforms = platforms.all; 42 }; 43 + }
+16 -13
pkgs/data/fonts/hasklig/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 version = "1.1"; 6 - in (fetchzip { 7 - name = "hasklig-${version}"; 8 9 - url = "https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip"; 10 11 - sha256 = "0xxyx0nkapviqaqmf3b610nq17k20afirvc72l32pfspsbxz8ybq"; 12 13 meta = with lib; { 14 homepage = "https://github.com/i-tu/Hasklig"; ··· 17 platforms = platforms.all; 18 maintainers = with maintainers; [ davidrusu Profpatsch ]; 19 }; 20 - }).overrideAttrs (_: { 21 - postFetch = '' 22 - unzip $downloadedFile 23 - install -m444 -Dt $out/share/fonts/opentype *.otf 24 - ''; 25 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "hasklig"; 5 version = "1.1"; 6 + 7 + src = fetchzip { 8 + url = "https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip"; 9 + stripRoot = false; 10 + hash = "sha256-jsPQtjuegMePt4tB1dZ9mq15LSxXBYwtakbq4od/sko="; 11 + }; 12 + 13 + installPhase = '' 14 + runHook preInstall 15 16 + install -m444 -Dt $out/share/fonts/opentype *.otf 17 18 + runHook postInstall 19 + ''; 20 21 meta = with lib; { 22 homepage = "https://github.com/i-tu/Hasklig"; ··· 25 platforms = platforms.all; 26 maintainers = with maintainers; [ davidrusu Profpatsch ]; 27 }; 28 + }
+18 -17
pkgs/data/fonts/hyperscrypt/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { fetchzip, lib }: 3 4 - let 5 version = "1.1"; 6 - pname = "HyperScrypt"; 7 - in 8 9 - (fetchzip { 10 - name = "${lib.toLower pname}-font-${version}"; 11 - url = "https://gitlab.com/StudioTriple/Hyper-Scrypt/-/archive/${version}/Hyper-Scrypt-${version}.zip"; 12 - sha256 = "01pf5p2scmw02s0gxnibiwxbpzczphaaapv0v4s7svk9aw2gmc0m"; 13 14 meta = with lib; { 15 homepage = "https://velvetyne.fr/fonts/hyper-scrypt/"; ··· 28 molted metal, Hyper Scrypt is based upon a rigorous grid, 29 allowing some neat alignements between shapes in multi lines 30 layouts. 31 - ''; 32 license = licenses.ofl; 33 maintainers = with maintainers; [ leenaars ]; 34 platforms = platforms.all; 35 }; 36 - }).overrideAttrs (_: { 37 - postFetch = '' 38 - mkdir -p $out/share/fonts/{truetype,opentype} 39 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/${pname}.ttf 40 - unzip -j $downloadedFile \*${pname}.otf -d $out/share/fonts/opentype/${pname}.otf 41 - ''; 42 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "hyperscrypt"; 5 version = "1.1"; 6 + 7 + src = fetchzip { 8 + url = "https://gitlab.com/StudioTriple/Hyper-Scrypt/-/archive/${version}/Hyper-Scrypt-${version}.zip"; 9 + hash = "sha256-ONlAB9C/GYK6KmOaiHCYErkS6OlQ3TUnoumNDHGZnes="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + install -Dm644 fonts/HyperScrypt_Web/*.ttf -t $out/share/fonts/truetype/ 16 + install -Dm644 fonts/HyperScrypt_Web/*.otf fonts/*.otf -t $out/share/fonts/opentype/ 17 18 + runHook postInstall 19 + ''; 20 21 meta = with lib; { 22 homepage = "https://velvetyne.fr/fonts/hyper-scrypt/"; ··· 35 molted metal, Hyper Scrypt is based upon a rigorous grid, 36 allowing some neat alignements between shapes in multi lines 37 layouts. 38 + ''; 39 license = licenses.ofl; 40 maintainers = with maintainers; [ leenaars ]; 41 platforms = platforms.all; 42 }; 43 + }
+14 -13
pkgs/data/fonts/ibm-plex/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 version = "6.0.1"; 6 7 - in (fetchzip { 8 - name = "ibm-plex-${version}"; 9 10 - url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip"; 11 12 - sha256 = "sha256-HxO0L5Q6WJQBqtg64cczzuRcSYi4jEqbOzEWxDmqFp8="; 13 14 meta = with lib; { 15 description = "IBM Plex Typeface"; ··· 19 platforms = platforms.all; 20 maintainers = [ maintainers.romildo ]; 21 }; 22 - }).overrideAttrs (_: { 23 - postFetch = '' 24 - mkdir -p $out/share/fonts 25 - unzip -j $downloadedFile "OpenType/*/*.otf" -x "OpenType/IBM-Plex-Sans-JP/unhinted/*" -d $out/share/fonts/opentype 26 - ''; 27 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "ibm-plex"; 5 version = "6.0.1"; 6 7 + src = fetchzip { 8 + url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip"; 9 + hash = "sha256-n13NuKrZUc0JGvDf2PLZkxogefDkEHaOZk4JN42/C74="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 15 + install -Dm644 */*.otf IBM-Plex-Sans-JP/unhinted/* -t $out/share/fonts/opentype 16 17 + runHook postInstall 18 + ''; 19 20 meta = with lib; { 21 description = "IBM Plex Typeface"; ··· 25 platforms = platforms.all; 26 maintainers = [ maintainers.romildo ]; 27 }; 28 + }
+17 -14
pkgs/data/fonts/inter/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 version = "3.19"; 6 - in (fetchzip { 7 - name = "inter-${version}"; 8 9 - url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip"; 10 11 - sha256 = "sha256-8p15thg3xyvCA/8dH2jGQoc54nzESFDyv5m47FgWrSI="; 12 13 meta = with lib; { 14 homepage = "https://rsms.me/inter/"; ··· 17 platforms = platforms.all; 18 maintainers = with maintainers; [ demize dtzWill ]; 19 }; 20 - }).overrideAttrs (_: { 21 - postFetch = '' 22 - mkdir -p $out/share/fonts/opentype 23 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype 24 - ''; 25 - }) 26 -
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "inter"; 5 version = "3.19"; 6 + 7 + src = fetchzip { 8 + url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip"; 9 + stripRoot = false; 10 + hash = "sha256-6kUQUTFtxiJEU6sYC6HzMwm1H4wvaKIoxoY3F6GJJa8="; 11 + }; 12 + 13 + installPhase = '' 14 + runHook preInstall 15 16 + mkdir -p $out/share/fonts/opentype 17 + cp */*.otf $out/share/fonts/opentype 18 19 + runHook postInstall 20 + ''; 21 22 meta = with lib; { 23 homepage = "https://rsms.me/inter/"; ··· 26 platforms = platforms.all; 27 maintainers = with maintainers; [ demize dtzWill ]; 28 }; 29 + }
+16 -12
pkgs/data/fonts/ipaexfont/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - (fetchzip { 5 - name = "ipaexfont-004.01"; 6 7 - url = "https://moji.or.jp/wp-content/ipafont/IPAexfont/IPAexfont00401.zip"; 8 9 - sha256 = "0wp369kri33kb1mmiq4lpl9i4xnacw9fj63ycmkmlkq64s8qnjnx"; 10 11 meta = with lib; { 12 description = "Japanese font package with Mincho and Gothic fonts"; ··· 21 license = licenses.ipa; 22 maintainers = with maintainers; [ gebner ]; 23 }; 24 - }).overrideAttrs (_: { 25 - postFetch = '' 26 - mkdir -p $out/share/fonts 27 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/opentype 28 - ''; 29 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation { 4 + pname = "ipaexfont"; 5 + version = "004.01"; 6 7 + src = fetchzip { 8 + url = "https://moji.or.jp/wp-content/ipafont/IPAexfont/IPAexfont00401.zip"; 9 + hash = "sha256-/87qJIb+v4qrtDy+ApfXxh59reOk+6RhGqFN98mc+8Q="; 10 + }; 11 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + install -Dm644 *.ttf -t $out/share/fonts/opentype 16 + 17 + runHook postInstall 18 + ''; 19 20 meta = with lib; { 21 description = "Japanese font package with Mincho and Gothic fonts"; ··· 30 license = licenses.ipa; 31 maintainers = with maintainers; [ gebner ]; 32 }; 33 + }
+16 -12
pkgs/data/fonts/ipafont/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - (fetchzip { 5 - name = "ipafont-003.03"; 6 7 - url = "https://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont00303.zip"; 8 9 - sha256 = "0lrjd0bfy36f9j85m12afg5nvr5id3sig2nmzs5qifskbd7mqv9h"; 10 11 meta = { 12 description = "Japanese font package with Mincho and Gothic fonts"; ··· 19 license = lib.licenses.ipa; 20 maintainers = [ lib.maintainers.auntie ]; 21 }; 22 - }).overrideAttrs (_: { 23 - postFetch = '' 24 - mkdir -p $out/share/fonts 25 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/opentype 26 - ''; 27 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation { 4 + pname = "ipafont"; 5 + version = "003.03"; 6 7 + src = fetchzip { 8 + url = "https://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont00303.zip"; 9 + hash = "sha256-EzUNKuDNHr0NIXiqX09w99wtz1r2pZurR/izdgzTcAs="; 10 + }; 11 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + install -Dm644 *.ttf -t $out/share/fonts/opentype 16 + 17 + runHook postInstall 18 + ''; 19 20 meta = { 21 description = "Japanese font package with Mincho and Gothic fonts"; ··· 28 license = lib.licenses.ipa; 29 maintainers = [ lib.maintainers.auntie ]; 30 }; 31 + }
+16 -13
pkgs/data/fonts/jost/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - {lib, fetchzip}: 3 4 - let 5 version = "3.5"; 6 - in (fetchzip { 7 - name = "jost-${version}"; 8 - url = "https://github.com/indestructible-type/Jost/releases/download/${version}/Jost.zip"; 9 10 - sha256="0l78vhmbsyfmrva5wc76pskhxqryyg8q5xddpj9g5wqsddy525dq"; 11 12 meta = with lib; { 13 homepage = "https://github.com/indestructible-type/Jost"; ··· 15 license = licenses.ofl; 16 maintainers = [ maintainers.ar1a ]; 17 }; 18 - }).overrideAttrs (_: { 19 - postFetch = '' 20 - mkdir -p $out/share/fonts 21 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype 22 - ''; 23 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "jost"; 5 version = "3.5"; 6 + 7 + src = fetchzip { 8 + url = "https://github.com/indestructible-type/Jost/releases/download/${version}/Jost.zip"; 9 + hash = "sha256-ne81bMhmTzNZ/GGIzb7nCYh19vNLK+hJ3cP/zDxtiGM="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + install -Dm644 fonts/otf/*.otf -t $out/share/fonts/opentype 16 17 + runHook postInstall 18 + ''; 19 20 meta = with lib; { 21 homepage = "https://github.com/indestructible-type/Jost"; ··· 23 license = licenses.ofl; 24 maintainers = [ maintainers.ar1a ]; 25 }; 26 + }
+17 -12
pkgs/data/fonts/kawkab-mono/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - (fetchzip { 5 - name = "kawkab-mono-20151015"; 6 7 - url = "http://makkuk.com/kawkab-mono/downloads/kawkab-mono-0.1.zip"; 8 9 - sha256 = "1vfrb7xs817najplncg7zl9j5yxj8qnwb7aqm2v9p9xwafa4d2yd"; 10 11 meta = { 12 description = "An arab fixed-width font"; 13 homepage = "https://makkuk.com/kawkab-mono/"; 14 license = lib.licenses.ofl; 15 }; 16 - }).overrideAttrs (_: { 17 - postFetch = '' 18 - mkdir -p $out/share/fonts 19 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype 20 - ''; 21 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + stdenvNoCC.mkDerivation { 4 + pname = "kawkab-mono"; 5 + version = "20151015"; 6 + 7 + src = fetchzip { 8 + url = "http://makkuk.com/kawkab-mono/downloads/kawkab-mono-0.1.zip"; 9 + stripRoot = false; 10 + hash = "sha256-arZTzXj7Ba5G4WF3eZVGNaONhOsYVPih9iBgsN/lg14="; 11 + }; 12 13 + installPhase = '' 14 + runHook preInstall 15 16 + install -Dm644 *.ttf -t $out/share/fonts/truetype 17 18 + runHook postInstall 19 + ''; 20 21 meta = { 22 description = "An arab fixed-width font"; 23 homepage = "https://makkuk.com/kawkab-mono/"; 24 license = lib.licenses.ofl; 25 }; 26 + }
+17 -12
pkgs/data/fonts/lato/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - (fetchzip { 5 - name = "lato-2.0"; 6 7 - url = "https://www.latofonts.com/download/Lato2OFL.zip"; 8 9 - sha256 = "1amwn6vcaggxrd2s4zw21s2pr47zmzdf2xfy4x9lxa2cd9bkhvg5"; 10 11 meta = with lib; { 12 homepage = "https://www.latofonts.com/"; ··· 32 platforms = platforms.all; 33 maintainers = with maintainers; [ chris-martin ]; 34 }; 35 - }).overrideAttrs (_: { 36 - postFetch = '' 37 - mkdir -p $out/share/fonts 38 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/lato 39 - ''; 40 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation { 4 + pname = "lato"; 5 + version = "2.0"; 6 7 + src = fetchzip { 8 + url = "https://www.latofonts.com/download/Lato2OFL.zip"; 9 + stripRoot = false; 10 + hash = "sha256-n1TsqigCQIGqyGLGTjLtjHuBf/iCwRlnqh21IHfAuXI="; 11 + }; 12 + 13 + installPhase = '' 14 + runHook preInstall 15 16 + install -Dm644 Lato2OFL/*.ttf -t $out/share/fonts/lato 17 + 18 + runHook postInstall 19 + ''; 20 21 meta = with lib; { 22 homepage = "https://www.latofonts.com/"; ··· 42 platforms = platforms.all; 43 maintainers = with maintainers; [ chris-martin ]; 44 }; 45 + }
+19 -15
pkgs/data/fonts/lmmath/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 version = "1.959"; 6 - in (fetchzip rec { 7 - name = "lmmath-${version}"; 8 9 - url = "http://www.gust.org.pl/projects/e-foundry/lm-math/download/latinmodern-math-1959.zip"; 10 - sha256 = "05k145bxgxjh7i9gx1ahigxfpc2v2vwzsy2mc41jvvg51kjr8fnn"; 11 12 meta = with lib; { 13 description = "The Latin Modern Math (LM Math) font completes the modernization of the Computer Modern family of typefaces designed and programmed by Donald E. Knuth"; ··· 19 maintainers = with maintainers; [ siddharthist ]; 20 platforms = platforms.all; 21 }; 22 - }).overrideAttrs (_: { 23 - postFetch = '' 24 - mkdir -p $out/share/fonts/opentype/ 25 - mkdir -p $out/share/doc/latinmodern-math-${version}/ 26 - unzip -j $downloadedFile "*/otf/*.otf" -d $out/share/fonts/opentype/ 27 - unzip -j $downloadedFile "*/doc/*.txt" -d $out/share/doc/latinmodern-math-${version}/ 28 - ''; 29 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "lmmath"; 5 version = "1.959"; 6 + 7 + src = fetchzip { 8 + url = "http://www.gust.org.pl/projects/e-foundry/lm-math/download/latinmodern-math-1959.zip"; 9 + hash = "sha256-et/WMhfZZYgP0S7ZmI6MZK5owv9bSoMBXFX6yGSng5Y="; 10 + }; 11 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + mkdir -p $out/share/fonts/opentype/ 16 + mkdir -p $out/share/doc/latinmodern-math-${version}/ 17 + cp otf/*.otf $out/share/fonts/opentype/ 18 + cp doc/*.txt $out/share/doc/latinmodern-math-${version}/ 19 + 20 + runHook postInstall 21 + ''; 22 23 meta = with lib; { 24 description = "The Latin Modern Math (LM Math) font completes the modernization of the Computer Modern family of typefaces designed and programmed by Donald E. Knuth"; ··· 30 maintainers = with maintainers; [ siddharthist ]; 31 platforms = platforms.all; 32 }; 33 + }
+14 -13
pkgs/data/fonts/mno16/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 pname = "mno16"; 6 version = "1.0"; 7 - in (fetchzip rec { 8 - name = "${pname}-${version}"; 9 - url = "https://github.com/sevmeyer/${pname}/releases/download/${version}/${name}.zip"; 10 - sha256 = "1x06nl281fcjk6g1p4cgrgxakmwcci6vvasskaygsqlzxd8ig87w"; 11 12 meta = with lib; { 13 description = "minimalist monospaced font"; 14 homepage = "https://sev.dev/fonts/mno16"; 15 license = licenses.cc0; 16 }; 17 - }).overrideAttrs (_: { 18 - postFetch = '' 19 - mkdir -p $out/share/fonts/truetype 20 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/ 21 - ''; 22 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 pname = "mno16"; 5 version = "1.0"; 6 + 7 + src = fetchzip { 8 + url = "https://github.com/sevmeyer/${pname}/releases/download/${version}/${pname}-${version}.zip"; 9 + stripRoot = false; 10 + hash = "sha256-xJQ9V7GlGUTEeYhqYFl/SemS6iqV0eW85YOn/tLgA+M="; 11 + }; 12 + 13 + installPhase = '' 14 + mkdir -p $out/share/fonts/truetype 15 + cp fonts/*.ttf $out/share/fonts/truetype/ 16 + ''; 17 18 meta = with lib; { 19 description = "minimalist monospaced font"; 20 homepage = "https://sev.dev/fonts/mno16"; 21 license = licenses.cc0; 22 }; 23 + }
+17 -13
pkgs/data/fonts/mononoki/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 version = "1.3"; 6 - in (fetchzip { 7 - name = "mononoki-${version}"; 8 9 - url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip"; 10 11 - sha256 = "sha256-K2uOpJRmQ1NcDZfh6rorCF0MvGHFCsSW8J7Ue9OC/OY="; 12 13 meta = with lib; { 14 homepage = "https://github.com/madmalik/mononoki"; ··· 16 license = licenses.ofl; 17 platforms = platforms.all; 18 }; 19 - }).overrideAttrs (_: { 20 - postFetch = '' 21 - mkdir -p $out/share/fonts/mononoki 22 - unzip -j $downloadedFile -d $out/share/fonts/mononoki 23 - ''; 24 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "mononoki"; 5 version = "1.3"; 6 7 + src = fetchzip { 8 + url = "https://github.com/madmalik/mononoki/releases/download/${version}/mononoki.zip"; 9 + stripRoot = false; 10 + hash = "sha256-bZYBRdmbQVs4i6UzMIHwJnoLWggX4CW8ZogNFYiX/9w="; 11 + }; 12 13 + installPhase = '' 14 + runHook preInstall 15 + 16 + mkdir -p $out/share/fonts/mononoki 17 + cp webfont/* $out/share/fonts/mononoki 18 + 19 + runHook postInstall 20 + ''; 21 22 meta = with lib; { 23 homepage = "https://github.com/madmalik/mononoki"; ··· 25 license = licenses.ofl; 26 platforms = platforms.all; 27 }; 28 + }
+18 -15
pkgs/data/fonts/nanum-gothic-coding/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 - version = "VER2.5"; 6 - fullName = "NanumGothicCoding-2.5"; 7 8 - in (fetchzip { 9 - name = "nanum-gothic-coding"; 10 - url = "https://github.com/naver/nanumfont/releases/download/${version}/${fullName}.zip"; 11 12 - sha256 = "0b3pkhd6xn6393zi0dhj3ah08w1y1ji9fl6584bi0c8lanamf2pc"; 13 14 meta = with lib; { 15 description = "A contemporary monospaced sans-serif typeface with a warm touch"; ··· 18 platforms = platforms.all; 19 maintainers = with maintainers; [ ]; 20 }; 21 - }).overrideAttrs (_: { 22 - postFetch = '' 23 - mkdir -p $out/share/fonts/NanumGothicCoding 24 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/NanumGothicCoding 25 - ''; 26 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "nanum-gothic-coding"; 5 + version = "2.5"; 6 + 7 + src = fetchzip { 8 + url = "https://github.com/naver/nanumfont/releases/download/VER${version}/NanumGothicCoding-${version}.zip"; 9 + stripRoot = false; 10 + hash = "sha256-jHbbCMUxn54iQMKdAWI3r8CDxi+5LLJh8ucQzq2Ukdc="; 11 + }; 12 13 + installPhase = '' 14 + runHook preInstall 15 16 + mkdir -p $out/share/fonts/NanumGothicCoding 17 + cp *.ttf $out/share/fonts/NanumGothicCoding 18 19 + runHook postInstall 20 + ''; 21 22 meta = with lib; { 23 description = "A contemporary monospaced sans-serif typeface with a warm touch"; ··· 26 platforms = platforms.all; 27 maintainers = with maintainers; [ ]; 28 }; 29 + }
+16 -13
pkgs/data/fonts/national-park/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 pname = "national-park-typeface"; 6 version = "206464"; 7 - in (fetchzip { 8 - name = "${pname}-${version}"; 9 - url = "https://files.cargocollective.com/c${version}/NationalPark.zip"; 10 11 - sha256 = "044gh4xcasp8i9ny6z4nmns1am2pk5krc4ann2afq35v9bnl2q5d"; 12 13 meta = with lib; { 14 description = ''Typeface designed to mimic the national park service ··· 17 license = licenses.ofl; 18 maintainers = with maintainers; [ dtzWill ]; 19 }; 20 - }).overrideAttrs (_: { 21 - postFetch = '' 22 - mkdir -p $out/share/fonts 23 - unzip -j $downloadedFile National\*.otf -d $out/share/fonts/opentype/ 24 - ''; 25 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 pname = "national-park-typeface"; 5 version = "206464"; 6 + 7 + src = fetchzip { 8 + url = "https://files.cargocollective.com/c${version}/NationalPark.zip"; 9 + stripRoot = false; 10 + hash = "sha256-VUboZZVJfKupnoHXo3RxetEEYimrr1DxghVZaaWnnw4="; 11 + }; 12 + 13 + installPhase = '' 14 + runHook preInstall 15 + 16 + install -Dm644 *.otf -t $out/share/fonts/opentype/ 17 18 + runHook postInstall 19 + ''; 20 21 meta = with lib; { 22 description = ''Typeface designed to mimic the national park service ··· 25 license = licenses.ofl; 26 maintainers = with maintainers; [ dtzWill ]; 27 }; 28 + }
+17 -14
pkgs/data/fonts/norwester/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 - version = "1.2"; 6 pname = "norwester"; 7 - in (fetchzip { 8 - name = "${pname}-${version}"; 9 10 - url = "http://jamiewilson.io/norwester/assets/norwester.zip"; 11 12 - sha256 = "1npsaiiz9g5z6315lnmynwcnrfl37fyxc7w1mhkw1xbzcnv74z4r"; 13 14 meta = with lib; { 15 homepage = "http://jamiewilson.io/norwester"; ··· 18 license = licenses.ofl; 19 platforms = platforms.all; 20 }; 21 - }).overrideAttrs (_: { 22 - postFetch = '' 23 - mkdir -p $out/share/fonts/opentype 24 - unzip -D -j $downloadedFile ${pname}-v${version}/${pname}.otf -d $out/share/fonts/opentype/ 25 - ''; 26 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 pname = "norwester"; 5 + version = "1.2"; 6 + 7 + src = fetchzip { 8 + url = "http://jamiewilson.io/norwester/assets/norwester.zip"; 9 + stripRoot = false; 10 + hash = "sha256-Ak/nobrQE/XYGWs/IhlZlTp74ff+s4adUR6Sht5Yf8g="; 11 + }; 12 + 13 + installPhase = '' 14 + runHook preInstall 15 16 + mkdir -p $out/share/fonts/opentype 17 + cp ${pname}-v${version}/${pname}.otf $out/share/fonts/opentype/ 18 19 + runHook postInstall 20 + ''; 21 22 meta = with lib; { 23 homepage = "http://jamiewilson.io/norwester"; ··· 26 license = licenses.ofl; 27 platforms = platforms.all; 28 }; 29 + }
+17 -15
pkgs/data/fonts/oldstandard/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 version = "2.2"; 6 - name = "oldstandard-${version}"; 7 - in (fetchzip rec { 8 - inherit name; 9 10 - url = "https://github.com/akryukov/oldstand/releases/download/v${version}/${name}.otf.zip"; 11 12 - sha256 = "1qwfsyp51grr56jcnkkmnrnl3r20pmhp9zh9g88kp64m026cah6n"; 13 14 meta = with lib; { 15 homepage = "https://github.com/akryukov/oldstand"; ··· 18 license = licenses.ofl; 19 platforms = platforms.all; 20 }; 21 - }).overrideAttrs (_: { 22 - postFetch = '' 23 - unzip $downloadedFile 24 - install -m444 -Dt $out/share/fonts/opentype *.otf 25 - install -m444 -Dt $out/share/doc/${name} FONTLOG.txt 26 - ''; 27 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "oldstandard"; 5 version = "2.2"; 6 7 + src = fetchzip { 8 + url = "https://github.com/akryukov/oldstand/releases/download/v${version}/${pname}-${version}.otf.zip"; 9 + stripRoot = false; 10 + hash = "sha256-cDB5KJm87DK+GczZ3Nmn4l5ejqViswVbwrJ9XbhEh8I="; 11 + }; 12 13 + installPhase = '' 14 + runHook preInstall 15 + 16 + install -m444 -Dt $out/share/fonts/opentype *.otf 17 + install -m444 -Dt $out/share/doc/${pname}-${version} FONTLOG.txt 18 + 19 + runHook postInstall 20 + ''; 21 22 meta = with lib; { 23 homepage = "https://github.com/akryukov/oldstand"; ··· 26 license = licenses.ofl; 27 platforms = platforms.all; 28 }; 29 + }
+17 -15
pkgs/data/fonts/open-dyslexic/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 version = "2016-06-23"; 6 - in (fetchzip { 7 - name = "open-dyslexic-${version}"; 8 9 - url = "https://github.com/antijingoist/open-dyslexic/archive/20160623-Stable.zip"; 10 11 - sha256 = "1vl8z5rknh2hpr2f0v4b2qgs5kclx5pzyk8al7243k5db82a2cyi"; 12 13 meta = with lib; { 14 homepage = "https://opendyslexic.org/"; 15 description = "Font created to increase readability for readers with dyslexia"; 16 license = "Bitstream Vera License (https://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts)"; 17 platforms = platforms.all; 18 - maintainers = [maintainers.rycee]; 19 }; 20 - }).overrideAttrs (_: { 21 - postFetch = '' 22 - mkdir -p $out/share/{doc,fonts} 23 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype 24 - unzip -j $downloadedFile \*/README.md -d $out/share/doc/open-dyslexic 25 - ''; 26 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation { 4 + pname = "open-dyslexic"; 5 version = "2016-06-23"; 6 7 + src = fetchzip { 8 + url = "https://github.com/antijingoist/open-dyslexic/archive/20160623-Stable.zip"; 9 + hash = "sha256-f/uavR3n0qHyqumZDw7r8Zy0om2RlJAKyWuGaUXSJ1s="; 10 + }; 11 12 + installPhase = '' 13 + runHook preInstall 14 + 15 + install -Dm644 otf/*.otf -t $out/share/fonts/opentype 16 + install -Dm644 README.md -t $out/share/doc/open-dyslexic 17 + 18 + runHook postInstall 19 + ''; 20 21 meta = with lib; { 22 homepage = "https://opendyslexic.org/"; 23 description = "Font created to increase readability for readers with dyslexia"; 24 license = "Bitstream Vera License (https://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts)"; 25 platforms = platforms.all; 26 + maintainers = [ maintainers.rycee ]; 27 }; 28 + }
+17 -16
pkgs/data/fonts/overpass/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 version = "3.0.5"; 6 - name = "overpass-${version}"; 7 - in (fetchzip rec { 8 - inherit name; 9 10 - url = "https://github.com/RedHatOfficial/Overpass/releases/download/v${version}/overpass-${version}.zip"; 11 12 - sha256 = "1fpyhd6x3i3g0xxjmyfnjsri1kkvci15fv7jp1bnza7k0hz0bnha"; 13 14 meta = with lib; { 15 homepage = "https://overpassfont.org/"; ··· 18 platforms = platforms.all; 19 maintainers = [ maintainers.rycee ]; 20 }; 21 - }).overrideAttrs (_: { 22 - postFetch = '' 23 - mkdir -p $out/share/fonts $out/share/doc 24 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype 25 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype 26 - unzip -j $downloadedFile \*.md -d $out/share/doc/${name} 27 - ''; 28 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "overpass"; 5 version = "3.0.5"; 6 + 7 + src = fetchzip { 8 + url = "https://github.com/RedHatOfficial/Overpass/releases/download/v${version}/overpass-${version}.zip"; 9 + hash = "sha256-8AWT0/DELfNWXtZOejC90DbUSOtyGt9tSkcSuO7HP2o="; 10 + }; 11 + 12 + installPhase = '' 13 + runHook preInstall 14 15 + install -Dm644 */*/*.otf -t $out/share/fonts/opentype 16 + install -Dm644 */*/*.ttf -t $out/share/fonts/truetype 17 + install -Dm644 *.md -t $out/share/doc/${pname}-${version} 18 19 + runHook postInstall 20 + ''; 21 22 meta = with lib; { 23 homepage = "https://overpassfont.org/"; ··· 26 platforms = platforms.all; 27 maintainers = [ maintainers.rycee ]; 28 }; 29 + }
+21 -16
pkgs/data/fonts/paratype-pt/mono.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - (fetchzip { 5 - name = "paratype-pt-mono"; 6 7 - urls = [ 8 - "https://company.paratype.com/system/attachments/631/original/ptmono.zip" 9 - "http://rus.paratype.ru/system/attachments/631/original/ptmono.zip" 10 - ]; 11 12 - sha256 = "07kl82ngby55khvzsvn831ddpc0q8djgz2y6gsjixkyjfdk2xjjm"; 13 14 meta = with lib; { 15 homepage = "http://www.paratype.ru/public/"; ··· 23 platforms = platforms.all; 24 maintainers = with maintainers; [ raskin ]; 25 }; 26 - }).overrideAttrs (_: { 27 - postFetch = '' 28 - mkdir -p $out/share/{doc,fonts} 29 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype 30 - unzip -j $downloadedFile \*.txt -d $out/share/doc/paratype 31 - ''; 32 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "paratype-pt-mono"; 5 + version = "2.005"; 6 + 7 + src = fetchzip { 8 + urls = [ 9 + "https://company.paratype.com/system/attachments/631/original/ptmono.zip" 10 + "http://rus.paratype.ru/system/attachments/631/original/ptmono.zip" 11 + ]; 12 + stripRoot = false; 13 + hash = "sha256-mfDAu/KGelC6wZpUCrUrLVZKo+XiKNBqcpMI8tH2tMw="; 14 + }; 15 16 + installPhase = '' 17 + runHook preInstall 18 19 + install -Dm644 *.ttf -t $out/share/fonts/truetype 20 + install -Dm644 *.txt -t $out/share/doc/paratype 21 22 + runHook postInstall 23 + ''; 24 25 meta = with lib; { 26 homepage = "http://www.paratype.ru/public/"; ··· 34 platforms = platforms.all; 35 maintainers = with maintainers; [ raskin ]; 36 }; 37 + }
+21 -16
pkgs/data/fonts/paratype-pt/sans.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - (fetchzip { 5 - name = "paratype-pt-sans"; 6 7 - urls = [ 8 - "https://company.paratype.com/system/attachments/629/original/ptsans.zip" 9 - "http://rus.paratype.ru/system/attachments/629/original/ptsans.zip" 10 - ]; 11 12 - sha256 = "01fkd417gv98jf3a6zyfi9w2dkqsbddy1vacga2672yf0kh1z1r0"; 13 14 meta = with lib; { 15 homepage = "http://www.paratype.ru/public/"; ··· 23 platforms = platforms.all; 24 maintainers = with maintainers; [ raskin ]; 25 }; 26 - }).overrideAttrs (_: { 27 - postFetch = '' 28 - mkdir -p $out/share/{doc,fonts} 29 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype 30 - unzip -j $downloadedFile \*.txt -d $out/share/doc/paratype 31 - ''; 32 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "paratype-pt-sans"; 5 + version = "2.005"; 6 + 7 + src = fetchzip { 8 + urls = [ 9 + "https://company.paratype.com/system/attachments/629/original/ptsans.zip" 10 + "http://rus.paratype.ru/system/attachments/629/original/ptsans.zip" 11 + ]; 12 + stripRoot = false; 13 + hash = "sha256-34TqYXtWzkAstaGQBhJy+/hVk5tg6ZvHZ/kvUroWVLs="; 14 + }; 15 16 + installPhase = '' 17 + runHook preInstall 18 19 + install -Dm644 *.ttf -t $out/share/fonts/truetype 20 + install -Dm644 *.txt -t $out/share/doc/paratype 21 22 + runHook postInstall 23 + ''; 24 25 meta = with lib; { 26 homepage = "http://www.paratype.ru/public/"; ··· 34 platforms = platforms.all; 35 maintainers = with maintainers; [ raskin ]; 36 }; 37 + }
+21 -16
pkgs/data/fonts/paratype-pt/serif.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - (fetchzip { 5 - name = "paratype-pt-serif"; 6 7 - urls = [ 8 - "https://company.paratype.com/system/attachments/634/original/ptserif.zip" 9 - "http://rus.paratype.ru/system/attachments/634/original/ptserif.zip" 10 - ]; 11 12 - sha256 = "1iw5qi4ag3yp1lwmi91lb18gr768bqwl46xskaqnkhr9i9qp0v6d"; 13 14 meta = with lib; { 15 homepage = "http://www.paratype.ru/public/"; ··· 23 platforms = platforms.all; 24 maintainers = with maintainers; [ raskin ]; 25 }; 26 - }).overrideAttrs (_: { 27 - postFetch = '' 28 - mkdir -p $out/share/{doc,fonts} 29 - unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype 30 - unzip -j $downloadedFile \*.txt -d $out/share/doc/paratype 31 - ''; 32 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "paratype-pt-serif"; 5 + version = "2.005"; 6 + 7 + src = fetchzip { 8 + urls = [ 9 + "https://company.paratype.com/system/attachments/634/original/ptserif.zip" 10 + "http://rus.paratype.ru/system/attachments/634/original/ptserif.zip" 11 + ]; 12 + stripRoot = false; 13 + hash = "sha256-4L3t5NEHmj975fn8eBAkRUO1OL0xseNp9g7k7tt/O2c="; 14 + }; 15 16 + installPhase = '' 17 + runHook preInstall 18 19 + install -Dm644 *.ttf -t $out/share/fonts/truetype 20 + install -Dm644 *.txt -t $out/share/doc/paratype 21 22 + runHook postInstall 23 + ''; 24 25 meta = with lib; { 26 homepage = "http://www.paratype.ru/public/"; ··· 34 platforms = platforms.all; 35 maintainers = with maintainers; [ raskin ]; 36 }; 37 + }