···378 <literal>~/.local/share/polymc/polymc.cfg</literal>.
379 </para>
380 </listitem>
381+ <listitem>
382+ <para>
383+ <literal>pkgs.noto-fonts-cjk</literal> is now deprecated in
384+ favor of <literal>pkgs.noto-fonts-cjk-sans</literal> and
385+ <literal>pkgs.noto-fonts-cjk-serif</literal> because they each
386+ have different release schedules. To maintain compatibility
387+ with prior releases of Nixpkgs,
388+ <literal>pkgs.noto-fonts-cjk</literal> is currently an alias
389+ of <literal>pkgs.noto-fonts-cjk-sans</literal> and doesn’t
390+ include serif fonts.
391+ </para>
392+ </listitem>
393 </itemizedlist>
394 </section>
395 <section xml:id="sec-release-22.05-notable-changes">
+6
nixos/doc/manual/release-notes/rl-2205.section.md
···119120- 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`.
121000000122## Other Notable Changes {#sec-release-22.05-notable-changes}
123124- The option [services.redis.servers](#opt-services.redis.servers) was added
···119120- 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`.
121122+- `pkgs.noto-fonts-cjk` is now deprecated in favor of `pkgs.noto-fonts-cjk-sans`
123+ and `pkgs.noto-fonts-cjk-serif` because they each have different release
124+ schedules. To maintain compatibility with prior releases of Nixpkgs,
125+ `pkgs.noto-fonts-cjk` is currently an alias of `pkgs.noto-fonts-cjk-sans` and
126+ doesn't include serif fonts.
127+128## Other Notable Changes {#sec-release-22.05-notable-changes}
129130- The option [services.redis.servers](#opt-services.redis.servers) was added
···1-{ lib, stdenv, fetchurl, unzip, pkg-config, libixp_hg, txt2tags, dash, python, which
2, libX11 , libXrender, libXext, libXinerama, libXrandr, libXft }:
34stdenv.mkDerivation rec {
···30 '';
3132 nativeBuildInputs = [ pkg-config unzip ];
33- buildInputs = [ libixp_hg txt2tags dash python which
34 libX11 libXrender libXext libXinerama libXrandr libXft ];
3536 # For some reason including mercurial in buildInputs did not help
···1+{ lib, stdenv, fetchurl, unzip, pkg-config, libixp_hg, txt2tags, dash, python2, which
2, libX11 , libXrender, libXext, libXinerama, libXrandr, libXft }:
34stdenv.mkDerivation rec {
···30 '';
3132 nativeBuildInputs = [ pkg-config unzip ];
33+ buildInputs = [ libixp_hg txt2tags dash python2 which
34 libX11 libXrender libXext libXinerama libXrandr libXft ];
3536 # For some reason including mercurial in buildInputs did not help
+47-33
pkgs/data/fonts/noto-fonts/default.nix
···3, lib
4, fetchFromGitHub
5, fetchurl
6-, fetchzip
7, cairo
8, python3
9, pkg-config
···61 maintainers = with maintainers; [ mathnerd314 emily ];
62 };
63 };
00000000000000000000000000000000000064in
6566{
···74 weights = "{Black,Condensed,Extra,Medium,Semi,Thin}*";
75 };
7677- noto-fonts-cjk = let zip = fetchzip {
78- url = let rev = "be6c059ac1587e556e2412b27f5155c8eb3ddbe6"; in
79- "https://raw.githubusercontent.com/googlefonts/noto-cjk/${rev}/NotoSansCJK.ttc.zip";
80- # __MACOSX...
81- stripRoot = false;
82- sha256 = "0ik4z2b15i0pghskgfm3adzb0h35fr4gyzvz3bq49hhkhn9h85vi";
83- }; in stdenvNoCC.mkDerivation {
84- pname = "noto-fonts-cjk";
85- version = "2.001";
86-87- buildCommand = ''
88- install -m444 -Dt $out/share/fonts/opentype/noto-cjk ${zip}/*.ttc
89- '';
9091- meta = with lib; {
92- description = "Beautiful and free fonts for CJK languages";
93- homepage = "https://www.google.com/get/noto/help/cjk/";
94- longDescription =
95- ''
96- Noto Sans CJK is a sans serif typeface designed as an intermediate style
97- between the modern and traditional. It is intended to be a multi-purpose
98- digital font for user interface designs, digital content, reading on laptops,
99- mobile devices, and electronic books. Noto Sans CJK comprehensively covers
100- Simplified Chinese, Traditional Chinese, Japanese, and Korean in a unified font
101- family. It supports regional variants of ideographic characters for each of the
102- four languages. In addition, it supports Japanese kana, vertical forms, and
103- variant characters (itaiji); it supports Korean hangeul — both contemporary and
104- archaic.
105- '';
106- license = licenses.ofl;
107- platforms = platforms.all;
108- maintainers = with maintainers; [ mathnerd314 emily ];
109- };
110 };
111112 noto-fonts-emoji = let
···3, lib
4, fetchFromGitHub
5, fetchurl
06, cairo
7, python3
8, pkg-config
···60 maintainers = with maintainers; [ mathnerd314 emily ];
61 };
62 };
63+64+ mkNotoCJK = { typeface, version, rev, sha256 }:
65+ stdenvNoCC.mkDerivation {
66+ pname = "noto-fonts-cjk-${lib.toLower typeface}";
67+ inherit version;
68+69+ src = fetchFromGitHub {
70+ owner = "googlefonts";
71+ repo = "noto-cjk";
72+ inherit rev sha256;
73+ };
74+75+ installPhase = ''
76+ install -m444 -Dt $out/share/fonts/opentype/noto-cjk ${typeface}/Variable/OTC/*.otf.ttc
77+ '';
78+79+ meta = with lib; {
80+ description = "Beautiful and free fonts for CJK languages";
81+ homepage = "https://www.google.com/get/noto/help/cjk/";
82+ longDescription = ''
83+ Noto ${typeface} CJK is a ${lib.toLower typeface} typeface designed as
84+ an intermediate style between the modern and traditional. It is
85+ intended to be a multi-purpose digital font for user interface
86+ designs, digital content, reading on laptops, mobile devices, and
87+ electronic books. Noto ${typeface} CJK comprehensively covers
88+ Simplified Chinese, Traditional Chinese, Japanese, and Korean in a
89+ unified font family. It supports regional variants of ideographic
90+ characters for each of the four languages. In addition, it supports
91+ Japanese kana, vertical forms, and variant characters (itaiji); it
92+ supports Korean hangeul — both contemporary and archaic.
93+ '';
94+ license = licenses.ofl;
95+ platforms = platforms.all;
96+ maintainers = with maintainers; [ mathnerd314 emily ];
97+ };
98+ };
99in
100101{
···109 weights = "{Black,Condensed,Extra,Medium,Semi,Thin}*";
110 };
111112+ noto-fonts-cjk-sans = mkNotoCJK {
113+ typeface = "Sans";
114+ version = "2.004";
115+ rev = "9f7f3c38eab63e1d1fddd8d50937fe4f1eacdb1d";
116+ sha256 = "sha256-BX4tcDcz+RGka8mtced1k3BopUJQ14t1BtAVqTjyPik=";
117+ };
0000000118119+ noto-fonts-cjk-serif = mkNotoCJK {
120+ typeface = "Serif";
121+ version = "2.000";
122+ rev = "9f7f3c38eab63e1d1fddd8d50937fe4f1eacdb1d";
123+ sha256 = "sha256-BX4tcDcz+RGka8mtced1k3BopUJQ14t1BtAVqTjyPik=";
00000000000000124 };
125126 noto-fonts-emoji = let
···1{ lib, stdenv, callPackage, fetchFromGitHub, runCommandLocal, makeWrapper, substituteAll
2, sbcl, bash, which, perl, hostname
3-, openssl, glucose, minisat, abc-verifier, z3, python
4, certifyBooks ? true
5} @ args:
6···48 which perl hostname makeWrapper
49 # Some of the books require one or more of these external tools:
50 openssl.out glucose minisat abc-verifier libipasir
51- z3 (python.withPackages (ps: [ ps.z3 ]))
52 ];
5354 # NOTE: Parallel building can be memory-intensive depending on the number of
···1{ lib, stdenv, callPackage, fetchFromGitHub, runCommandLocal, makeWrapper, substituteAll
2, sbcl, bash, which, perl, hostname
3+, openssl, glucose, minisat, abc-verifier, z3, python2
4, certifyBooks ? true
5} @ args:
6···48 which perl hostname makeWrapper
49 # Some of the books require one or more of these external tools:
50 openssl.out glucose minisat abc-verifier libipasir
51+ z3 (python2.withPackages (ps: [ ps.z3 ]))
52 ];
5354 # NOTE: Parallel building can be memory-intensive depending on the number of
···1-{ lib, stdenv, fetchurl, ocaml, findlib, ncurses, python, ocaml_make }:
23# This is the original pycaml version with patches from debian.
4···27 sourceRoot = "pycaml";
28 patches = [ "../debian/patches/*.patch" ];
2930- buildInputs = [ ncurses ocaml findlib python ocaml_make ];
31 createFindlibDestdir = true;
3233 # the Makefile is not shipped with an install target, hence we do it ourselves.
···1+{ lib, stdenv, fetchurl, ocaml, findlib, ncurses, python2, ocaml_make }:
23# This is the original pycaml version with patches from debian.
4···27 sourceRoot = "pycaml";
28 patches = [ "../debian/patches/*.patch" ];
2930+ buildInputs = [ ncurses ocaml findlib python2 ocaml_make ];
31 createFindlibDestdir = true;
3233 # the Makefile is not shipped with an install target, hence we do it ourselves.
···656 nmap-unfree = nmap; # added 2021-04-06
657 nologin = shadow; # added 2018-04-25
658 nordic-polar = throw "nordic-polar was removed on 2021-05-27, now integrated in nordic"; # added 2021-05-27
0659 now-cli = throw "now-cli has been replaced with nodePackages.vercel"; # added 2021-08-05
660 nxproxy = nx-libs; # added 2019-02-15
661 nylas-mail-bin = throw "nylas-mail-bin was deprecated on 2019-09-11: abandoned by upstream";
···817 pyrex095 = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-12
818 pyrex096 = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-12
819 pyrit = throw "pyrit has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-01
0820 python2nix = throw "python2nix has been removed as it is outdated. Use e.g. nixpkgs-pytools instead."; # added 2021-03-08
821 python-swiftclient = swiftclient; # added 2021-09-09
00822 quagga = throw "quagga is no longer maintained upstream"; # added 2021-04-22
823 qca-qt5 = libsForQt5.qca-qt5; # added 2015-12-19
824 qcsxcad = libsForQt5.qcsxcad; # added 2020-11-05
···656 nmap-unfree = nmap; # added 2021-04-06
657 nologin = shadow; # added 2018-04-25
658 nordic-polar = throw "nordic-polar was removed on 2021-05-27, now integrated in nordic"; # added 2021-05-27
659+ noto-fonts-cjk = noto-fonts-cjk-sans; # added 2021-12-16
660 now-cli = throw "now-cli has been replaced with nodePackages.vercel"; # added 2021-08-05
661 nxproxy = nx-libs; # added 2019-02-15
662 nylas-mail-bin = throw "nylas-mail-bin was deprecated on 2019-09-11: abandoned by upstream";
···818 pyrex095 = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-12
819 pyrex096 = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-12
820 pyrit = throw "pyrit has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-01
821+ python = python2; # added 2022-01-11
822 python2nix = throw "python2nix has been removed as it is outdated. Use e.g. nixpkgs-pytools instead."; # added 2021-03-08
823 python-swiftclient = swiftclient; # added 2021-09-09
824+ pythonFull = python2Full; # added 2022-01-11
825+ pythonPackages = python.pkgs; # added 2022-01-11
826 quagga = throw "quagga is no longer maintained upstream"; # added 2021-04-22
827 qca-qt5 = libsForQt5.qca-qt5; # added 2015-12-19
828 qcsxcad = libsForQt5.qcsxcad; # added 2020-11-05
+23-19
pkgs/top-level/all-packages.nix
···4671 diffutils = callPackage ../tools/text/diffutils { };
46724673 dir2opus = callPackage ../tools/audio/dir2opus {
4674- inherit (pythonPackages) mutagen python wrapPython;
4675 };
46764677 dirdiff = callPackage ../tools/text/dirdiff {
···10710 inherit (darwin.apple_sdk.frameworks) OpenCL;
10711 };
1071210713- wakatime = pythonPackages.callPackage ../tools/misc/wakatime { };
1071410715 weather = callPackage ../applications/misc/weather { };
10716···13670 # Python interpreters. All standard library modules are included except for tkinter, which is
13671 # available as `pythonPackages.tkinter` and can be used as any other Python package.
13672 # When switching these sets, please update docs at ../../doc/languages-frameworks/python.md
13673- python = python2;
13674 python2 = python27;
13675 python3 = python39;
13676 pypy = pypy2;
···1367913680 # Python interpreter that is build with all modules, including tkinter.
13681 # These are for compatibility and should not be used inside Nixpkgs.
13682- pythonFull = python.override {
13683- self = pythonFull;
13684- pythonAttr = "pythonFull";
13685- x11Support = true;
13686- };
13687 python2Full = python2.override {
13688 self = python2Full;
13689 pythonAttr = "python2Full";
···13720 };
1372113722 # pythonPackages further below, but assigned here because they need to be in sync
13723- pythonPackages = python.pkgs;
13724 python2Packages = python2.pkgs;
13725 python3Packages = python3.pkgs;
13726···1914519146 openbabel2 = callPackage ../development/libraries/openbabel/2.nix { };
1914719148- openbabel3 = callPackage ../development/libraries/openbabel { };
001914919150 opencascade = callPackage ../development/libraries/opencascade {
19151 inherit (darwin.apple_sdk.frameworks) OpenCL Cocoa;
···2170721708 qpid-cpp = callPackage ../servers/amqp/qpid-cpp {
21709 boost = boost155;
21710- inherit (pythonPackages) buildPythonPackage qpid-python;
21711 };
2171221713 qremotecontrol-server = callPackage ../servers/misc/qremotecontrol-server { };
···23749 nordzy-cursor-theme = callPackage ../data/icons/nordzy-cursor-theme { };
2375023751 inherit (callPackages ../data/fonts/noto-fonts {})
23752- noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-emoji-blob-bin noto-fonts-extra;
000002375323754 nuclear = callPackage ../applications/audio/nuclear { };
23755···2838328384 rofi-unwrapped = callPackage ../applications/misc/rofi { };
28385 rofi = callPackage ../applications/misc/rofi/wrapper.nix { };
00002838628387 rofi-pass = callPackage ../tools/security/pass/rofi-pass.nix { };
28388···2852928530 spideroak = callPackage ../applications/networking/spideroak { };
2853128532- split2flac = callPackage ../applications/audio/split2flac { };
002853328534 spotify-qt = libsForQt5.callPackage ../applications/audio/spotify-qt { };
28535···2904129042 topydo = callPackage ../applications/misc/topydo {};
2904329044- torchat = callPackage ../applications/networking/instant-messengers/torchat {
29045- inherit (pythonPackages) wrapPython wxPython;
29046- };
2904729048 torrential = callPackage ../applications/networking/p2p/torrential { };
29049···31725 useMpi = true;
31726 });
3172731728- neuron-full = neuron-mpi.override { inherit python; };
3172931730 mrbayes = callPackage ../applications/science/biology/mrbayes { };
31731···3322833229 nix-script = callPackage ../tools/nix/nix-script {};
3323033231- nix-template-rpm = callPackage ../build-support/templaterpm { inherit (pythonPackages) python toposort; };
3323233233 nix-top = callPackage ../tools/package-management/nix-top { };
33234···33279 disnix = callPackage ../tools/package-management/disnix { };
3328033281 dysnomia = callPackage ../tools/package-management/disnix/dysnomia (config.disnix or {
33282- inherit (pythonPackages) supervisor;
33283 });
3328433285 dydisnix = callPackage ../tools/package-management/disnix/dydisnix { };
···4671 diffutils = callPackage ../tools/text/diffutils { };
46724673 dir2opus = callPackage ../tools/audio/dir2opus {
4674+ inherit (python2Packages) mutagen python wrapPython;
4675 };
46764677 dirdiff = callPackage ../tools/text/dirdiff {
···10710 inherit (darwin.apple_sdk.frameworks) OpenCL;
10711 };
1071210713+ wakatime = python2Packages.callPackage ../tools/misc/wakatime { };
1071410715 weather = callPackage ../applications/misc/weather { };
10716···13670 # Python interpreters. All standard library modules are included except for tkinter, which is
13671 # available as `pythonPackages.tkinter` and can be used as any other Python package.
13672 # When switching these sets, please update docs at ../../doc/languages-frameworks/python.md
013673 python2 = python27;
13674 python3 = python39;
13675 pypy = pypy2;
···1367813679 # Python interpreter that is build with all modules, including tkinter.
13680 # These are for compatibility and should not be used inside Nixpkgs.
0000013681 python2Full = python2.override {
13682 self = python2Full;
13683 pythonAttr = "python2Full";
···13714 };
1371513716 # pythonPackages further below, but assigned here because they need to be in sync
013717 python2Packages = python2.pkgs;
13718 python3Packages = python3.pkgs;
13719···1913819139 openbabel2 = callPackage ../development/libraries/openbabel/2.nix { };
1914019141+ openbabel3 = callPackage ../development/libraries/openbabel {
19142+ python = python3;
19143+ };
1914419145 opencascade = callPackage ../development/libraries/opencascade {
19146 inherit (darwin.apple_sdk.frameworks) OpenCL Cocoa;
···2170221703 qpid-cpp = callPackage ../servers/amqp/qpid-cpp {
21704 boost = boost155;
21705+ inherit (python2Packages) buildPythonPackage qpid-python;
21706 };
2170721708 qremotecontrol-server = callPackage ../servers/misc/qremotecontrol-server { };
···23744 nordzy-cursor-theme = callPackage ../data/icons/nordzy-cursor-theme { };
2374523746 inherit (callPackages ../data/fonts/noto-fonts {})
23747+ noto-fonts
23748+ noto-fonts-cjk-sans
23749+ noto-fonts-cjk-serif
23750+ noto-fonts-emoji
23751+ noto-fonts-emoji-blob-bin
23752+ noto-fonts-extra;
2375323754 nuclear = callPackage ../applications/audio/nuclear { };
23755···2838328384 rofi-unwrapped = callPackage ../applications/misc/rofi { };
28385 rofi = callPackage ../applications/misc/rofi/wrapper.nix { };
28386+ rofi-wayland-unwrapped = callPackage ../applications/misc/rofi/wayland.nix { };
28387+ rofi-wayland = callPackage ../applications/misc/rofi/wrapper.nix {
28388+ rofi-unwrapped = rofi-wayland-unwrapped;
28389+ };
2839028391 rofi-pass = callPackage ../tools/security/pass/rofi-pass.nix { };
28392···2853328534 spideroak = callPackage ../applications/networking/spideroak { };
2853528536+ split2flac = callPackage ../applications/audio/split2flac {
28537+ inherit (python3.pkgs) mutagen;
28538+ };
2853928540 spotify-qt = libsForQt5.callPackage ../applications/audio/spotify-qt { };
28541···2904729048 topydo = callPackage ../applications/misc/topydo {};
2904929050+ torchat = callPackage ../applications/networking/instant-messengers/torchat { };
002905129052 torrential = callPackage ../applications/networking/p2p/torrential { };
29053···31729 useMpi = true;
31730 });
3173131732+ neuron-full = neuron-mpi.override { python = python2; };
3173331734 mrbayes = callPackage ../applications/science/biology/mrbayes { };
31735···3323233233 nix-script = callPackage ../tools/nix/nix-script {};
3323433235+ nix-template-rpm = callPackage ../build-support/templaterpm { inherit (python2Packages) python toposort; };
3323633237 nix-top = callPackage ../tools/package-management/nix-top { };
33238···33283 disnix = callPackage ../tools/package-management/disnix { };
3328433285 dysnomia = callPackage ../tools/package-management/disnix/dysnomia (config.disnix or {
33286+ inherit (python2Packages) supervisor;
33287 });
3328833289 dydisnix = callPackage ../tools/package-management/disnix/dydisnix { };