Merge pull request #35028 from jtojnar/tex-gyre

tex-gyre: init at ~2.005

authored by Jan Tojnar and committed by GitHub 327a8474 0b091361

+92
+90
pkgs/data/fonts/tex-gyre/default.nix
··· 1 + { stdenv, fetchzip }: 2 + 3 + let 4 + mkVariant = variant: { displayName, version, abbreviation, sha256, outputHash }: stdenv.mkDerivation { 5 + name = "tex-gyre-${variant}-${version}"; 6 + inherit version; 7 + 8 + src = fetchzip { 9 + url = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/${variant}/${abbreviation}${version}otf.zip"; 10 + stripRoot = false; 11 + inherit sha256; 12 + }; 13 + 14 + installPhase = '' 15 + mkdir -p $out/share/fonts/opentype/ 16 + cp -v *.otf $out/share/fonts/opentype/ 17 + ''; 18 + 19 + outputHashAlgo = "sha256"; 20 + outputHashMode = "recursive"; 21 + outputHash = outputHash; 22 + 23 + meta = with stdenv.lib; { 24 + homepage = http://www.gust.org.pl/projects/e-foundry/tex-gyre; 25 + # "The TeX Gyre fonts are licensed under the GUST Font License (GFL), 26 + # which is a free license, legally equivalent to the LaTeX Project Public 27 + # License (LPPL), version 1.3c or later." - GUST website 28 + license = licenses.lppl13c; 29 + maintainers = with maintainers; [ jtojnar ]; 30 + platforms = platforms.all; 31 + }; 32 + }; 33 + in stdenv.lib.mapAttrs mkVariant { 34 + adventor = { 35 + displayName = "Adventor"; 36 + version = "2.003"; 37 + sha256 = "13wnb04z9f766ij30x8bpkn4xzv7n466g07dlbimx7qvglxl605g"; 38 + outputHash = "1cz0lkk2a5fg8r8175h454va499hzln3s99dadxhh147nx1914pm"; 39 + abbreviation = "qag"; 40 + }; 41 + bonum = { 42 + displayName = "Bonum"; 43 + version = "2.004"; 44 + sha256 = "0qbrs98knx4h0b297c5n3vav4mkal1a95ai2dzmdc10pghfzl8vv"; 45 + outputHash = "0bid8gzwz50ylmm8jyqf9s4nfvy6cp1x34wbyrh4gyk1ki6hf3z1"; 46 + abbreviation = "qbk"; 47 + }; 48 + chorus = { 49 + displayName = "Chorus"; 50 + version = "2.003"; 51 + sha256 = "1b0zak27fzmapwbf2jasvsd95vhnqyc92n985d1lc1ivwja1zgfa"; 52 + outputHash = "0fqifd45c1ys6y98b66lmldfbv7wjb2414fs9swicv4n7xvl3cp1"; 53 + abbreviation = "qzc"; 54 + }; 55 + cursor = { 56 + displayName = "Cursor"; 57 + version = "2.004"; 58 + sha256 = "0ck3jm33bk2xsxp5d2irzd3j24zb49f0gnjvd1nikg1ivk8w85ng"; 59 + outputHash = "0i76835xqlkrnlx303mx63m0f4899j056c2ag2fl6p9qk8s4rskp"; 60 + abbreviation = "qcr"; 61 + }; 62 + heros = { 63 + displayName = "Heros"; 64 + version = "2.004"; 65 + sha256 = "1fj2srxxf6ap913y5yd3dn4jzg828j7381gifs39nm5lnzmgw78y"; 66 + outputHash = "16y76ab46fxm9k8wfmwx4w0cl96yrmjywz587lyr08s0agp1v3kf"; 67 + abbreviation = "qhv"; 68 + }; 69 + pagella = { 70 + displayName = "Pagella"; 71 + version ="2.004"; 72 + sha256 = "0b2pjhw1ihnl951slln6d6vafjd3i6p4i947lwybvg8081qfvd9z"; 73 + outputHash = "0c6s0r14qax3b4amvm9nffwzby8mm4p7r2hfb8yv9jzhjwa5z8rd"; 74 + abbreviation = "qpl"; 75 + }; 76 + schola = { 77 + displayName = "Schola"; 78 + version = "2.005"; 79 + sha256 = "05z3gk4mm0sa7wwjcv31j2xlzqhwhcncpamn0kn9y0221cdknyp8"; 80 + outputHash = "1yqq1ngcylhldrh1v35l439k72szq9m4gx6g0wh235fk65chb2bm"; 81 + abbreviation = "qcs"; 82 + }; 83 + termes = { 84 + displayName = "Termes"; 85 + version = "2.004"; 86 + sha256 = "1aq3yqbgkc3z20dkcqyhicsyq0afbgg4l397z96sd8a16jyz2x8k"; 87 + outputHash = "1igw821m601h8937pix6yish4d8fxmz3h4j9hripf41bxsiafzzg"; 88 + abbreviation = "qtm"; 89 + }; 90 + }
+2
pkgs/top-level/all-packages.nix
··· 14165 14165 14166 14166 terminus_font_ttf = callPackage ../data/fonts/terminus-font-ttf { }; 14167 14167 14168 + tex-gyre = callPackage ../data/fonts/tex-gyre { }; 14169 + 14168 14170 tex-gyre-bonum-math = callPackage ../data/fonts/tex-gyre-math { variant = "bonum"; }; 14169 14171 14170 14172 tex-gyre-pagella-math = callPackage ../data/fonts/tex-gyre-math { variant = "pagella"; };