···378378 <literal>~/.local/share/polymc/polymc.cfg</literal>.
379379 </para>
380380 </listitem>
381381+ <listitem>
382382+ <para>
383383+ <literal>pkgs.noto-fonts-cjk</literal> is now deprecated in
384384+ favor of <literal>pkgs.noto-fonts-cjk-sans</literal> and
385385+ <literal>pkgs.noto-fonts-cjk-serif</literal> because they each
386386+ have different release schedules. To maintain compatibility
387387+ with prior releases of Nixpkgs,
388388+ <literal>pkgs.noto-fonts-cjk</literal> is currently an alias
389389+ of <literal>pkgs.noto-fonts-cjk-sans</literal> and doesn’t
390390+ include serif fonts.
391391+ </para>
392392+ </listitem>
381393 </itemizedlist>
382394 </section>
383395 <section xml:id="sec-release-22.05-notable-changes">
+6
nixos/doc/manual/release-notes/rl-2205.section.md
···119119120120- MultiMC has been replaced with the fork PolyMC due to upstream developers being hostile to 3rd party package maintainers. PolyMC removes all MultiMC branding and is aimed at providing proper 3rd party packages like the one contained in Nixpkgs. This change affects the data folder where game instances and other save and configuration files are stored. Users with existing installations should rename `~/.local/share/multimc` to `~/.local/share/polymc`. The main config file's path has also moved from `~/.local/share/multimc/multimc.cfg` to `~/.local/share/polymc/polymc.cfg`.
121121122122+- `pkgs.noto-fonts-cjk` is now deprecated in favor of `pkgs.noto-fonts-cjk-sans`
123123+ and `pkgs.noto-fonts-cjk-serif` because they each have different release
124124+ schedules. To maintain compatibility with prior releases of Nixpkgs,
125125+ `pkgs.noto-fonts-cjk` is currently an alias of `pkgs.noto-fonts-cjk-sans` and
126126+ doesn't include serif fonts.
127127+122128## Other Notable Changes {#sec-release-22.05-notable-changes}
123129124130- The option [services.redis.servers](#opt-services.redis.servers) was added
···11-{ lib, stdenv, fetchurl, unzip, pkg-config, libixp_hg, txt2tags, dash, python, which
11+{ lib, stdenv, fetchurl, unzip, pkg-config, libixp_hg, txt2tags, dash, python2, which
22, libX11 , libXrender, libXext, libXinerama, libXrandr, libXft }:
3344stdenv.mkDerivation rec {
···3030 '';
31313232 nativeBuildInputs = [ pkg-config unzip ];
3333- buildInputs = [ libixp_hg txt2tags dash python which
3333+ buildInputs = [ libixp_hg txt2tags dash python2 which
3434 libX11 libXrender libXext libXinerama libXrandr libXft ];
35353636 # For some reason including mercurial in buildInputs did not help
+47-33
pkgs/data/fonts/noto-fonts/default.nix
···33, lib
44, fetchFromGitHub
55, fetchurl
66-, fetchzip
76, cairo
87, python3
98, pkg-config
···6160 maintainers = with maintainers; [ mathnerd314 emily ];
6261 };
6362 };
6363+6464+ mkNotoCJK = { typeface, version, rev, sha256 }:
6565+ stdenvNoCC.mkDerivation {
6666+ pname = "noto-fonts-cjk-${lib.toLower typeface}";
6767+ inherit version;
6868+6969+ src = fetchFromGitHub {
7070+ owner = "googlefonts";
7171+ repo = "noto-cjk";
7272+ inherit rev sha256;
7373+ };
7474+7575+ installPhase = ''
7676+ install -m444 -Dt $out/share/fonts/opentype/noto-cjk ${typeface}/Variable/OTC/*.otf.ttc
7777+ '';
7878+7979+ meta = with lib; {
8080+ description = "Beautiful and free fonts for CJK languages";
8181+ homepage = "https://www.google.com/get/noto/help/cjk/";
8282+ longDescription = ''
8383+ Noto ${typeface} CJK is a ${lib.toLower typeface} typeface designed as
8484+ an intermediate style between the modern and traditional. It is
8585+ intended to be a multi-purpose digital font for user interface
8686+ designs, digital content, reading on laptops, mobile devices, and
8787+ electronic books. Noto ${typeface} CJK comprehensively covers
8888+ Simplified Chinese, Traditional Chinese, Japanese, and Korean in a
8989+ unified font family. It supports regional variants of ideographic
9090+ characters for each of the four languages. In addition, it supports
9191+ Japanese kana, vertical forms, and variant characters (itaiji); it
9292+ supports Korean hangeul — both contemporary and archaic.
9393+ '';
9494+ license = licenses.ofl;
9595+ platforms = platforms.all;
9696+ maintainers = with maintainers; [ mathnerd314 emily ];
9797+ };
9898+ };
6499in
6510066101{
···74109 weights = "{Black,Condensed,Extra,Medium,Semi,Thin}*";
75110 };
761117777- noto-fonts-cjk = let zip = fetchzip {
7878- url = let rev = "be6c059ac1587e556e2412b27f5155c8eb3ddbe6"; in
7979- "https://raw.githubusercontent.com/googlefonts/noto-cjk/${rev}/NotoSansCJK.ttc.zip";
8080- # __MACOSX...
8181- stripRoot = false;
8282- sha256 = "0ik4z2b15i0pghskgfm3adzb0h35fr4gyzvz3bq49hhkhn9h85vi";
8383- }; in stdenvNoCC.mkDerivation {
8484- pname = "noto-fonts-cjk";
8585- version = "2.001";
8686-8787- buildCommand = ''
8888- install -m444 -Dt $out/share/fonts/opentype/noto-cjk ${zip}/*.ttc
8989- '';
112112+ noto-fonts-cjk-sans = mkNotoCJK {
113113+ typeface = "Sans";
114114+ version = "2.004";
115115+ rev = "9f7f3c38eab63e1d1fddd8d50937fe4f1eacdb1d";
116116+ sha256 = "sha256-BX4tcDcz+RGka8mtced1k3BopUJQ14t1BtAVqTjyPik=";
117117+ };
901189191- meta = with lib; {
9292- description = "Beautiful and free fonts for CJK languages";
9393- homepage = "https://www.google.com/get/noto/help/cjk/";
9494- longDescription =
9595- ''
9696- Noto Sans CJK is a sans serif typeface designed as an intermediate style
9797- between the modern and traditional. It is intended to be a multi-purpose
9898- digital font for user interface designs, digital content, reading on laptops,
9999- mobile devices, and electronic books. Noto Sans CJK comprehensively covers
100100- Simplified Chinese, Traditional Chinese, Japanese, and Korean in a unified font
101101- family. It supports regional variants of ideographic characters for each of the
102102- four languages. In addition, it supports Japanese kana, vertical forms, and
103103- variant characters (itaiji); it supports Korean hangeul — both contemporary and
104104- archaic.
105105- '';
106106- license = licenses.ofl;
107107- platforms = platforms.all;
108108- maintainers = with maintainers; [ mathnerd314 emily ];
109109- };
119119+ noto-fonts-cjk-serif = mkNotoCJK {
120120+ typeface = "Serif";
121121+ version = "2.000";
122122+ rev = "9f7f3c38eab63e1d1fddd8d50937fe4f1eacdb1d";
123123+ sha256 = "sha256-BX4tcDcz+RGka8mtced1k3BopUJQ14t1BtAVqTjyPik=";
110124 };
111125112126 noto-fonts-emoji = let
···656656 nmap-unfree = nmap; # added 2021-04-06
657657 nologin = shadow; # added 2018-04-25
658658 nordic-polar = throw "nordic-polar was removed on 2021-05-27, now integrated in nordic"; # added 2021-05-27
659659+ noto-fonts-cjk = noto-fonts-cjk-sans; # added 2021-12-16
659660 now-cli = throw "now-cli has been replaced with nodePackages.vercel"; # added 2021-08-05
660661 nxproxy = nx-libs; # added 2019-02-15
661662 nylas-mail-bin = throw "nylas-mail-bin was deprecated on 2019-09-11: abandoned by upstream";
···817818 pyrex095 = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-12
818819 pyrex096 = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-12
819820 pyrit = throw "pyrit has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-01
821821+ python = python2; # added 2022-01-11
820822 python2nix = throw "python2nix has been removed as it is outdated. Use e.g. nixpkgs-pytools instead."; # added 2021-03-08
821823 python-swiftclient = swiftclient; # added 2021-09-09
824824+ pythonFull = python2Full; # added 2022-01-11
825825+ pythonPackages = python.pkgs; # added 2022-01-11
822826 quagga = throw "quagga is no longer maintained upstream"; # added 2021-04-22
823827 qca-qt5 = libsForQt5.qca-qt5; # added 2015-12-19
824828 qcsxcad = libsForQt5.qcsxcad; # added 2020-11-05