···537 New In Python 3.9 post</link> for more information.
538 </para>
539 </listitem>
00000000540 </itemizedlist>
541 </section>
542</section>
···537 New In Python 3.9 post</link> for more information.
538 </para>
539 </listitem>
540+ <listitem>
541+ <para>
542+ The <literal>claws-mail</literal> package now references the
543+ new GTK+ 3 release branch, major version 4. To use the GTK+ 2
544+ releases, one can install the
545+ <literal>claws-mail-gtk2</literal> package.
546+ </para>
547+ </listitem>
548 </itemizedlist>
549 </section>
550</section>
+2
nixos/doc/manual/release-notes/rl-2111.section.md
···131- Sway: The terminal emulator `rxvt-unicode` is no longer installed by default via `programs.sway.extraPackages`. The current default configuration uses `alacritty` (and soon `foot`) so this is only an issue when using a customized configuration and not installing `rxvt-unicode` explicitly.
132133- `python3` now defaults to Python 3.9. Python 3.9 introduces many deprecation warnings, please look at the [What's New In Python 3.9 post](https://docs.python.org/3/whatsnew/3.9.html) for more information.
00
···131- Sway: The terminal emulator `rxvt-unicode` is no longer installed by default via `programs.sway.extraPackages`. The current default configuration uses `alacritty` (and soon `foot`) so this is only an issue when using a customized configuration and not installing `rxvt-unicode` explicitly.
132133- `python3` now defaults to Python 3.9. Python 3.9 introduces many deprecation warnings, please look at the [What's New In Python 3.9 post](https://docs.python.org/3/whatsnew/3.9.html) for more information.
134+135+- The `claws-mail` package now references the new GTK+ 3 release branch, major version 4. To use the GTK+ 2 releases, one can install the `claws-mail-gtk2` package.
···92 package = mkOption {
93 type = types.package;
94 description = "Which package to use for the Nextcloud instance.";
95- relatedPackages = [ "nextcloud19" "nextcloud20" "nextcloud21" ];
96 };
9798 maxUploadSize = mkOption {
···385 ];
386387 warnings = let
388- latest = 21;
389 upgradeWarning = major: nixos:
390 ''
391 A legacy Nextcloud install (from before NixOS ${nixos}) may be installed.
···403 Using config.services.nextcloud.poolConfig is deprecated and will become unsupported in a future release.
404 Please migrate your configuration to config.services.nextcloud.poolSettings.
405 '')
406- ++ (optional (versionOlder cfg.package.version "19") (upgradeWarning 18 "20.09"))
407 ++ (optional (versionOlder cfg.package.version "20") (upgradeWarning 19 "21.05"))
408- ++ (optional (versionOlder cfg.package.version "21") (upgradeWarning 20 "21.05"));
0409410 services.nextcloud.package = with pkgs;
411 mkDefault (
···415 nextcloud defined in an overlay, please set `services.nextcloud.package` to
416 `pkgs.nextcloud`.
417 ''
418- else if versionOlder stateVersion "20.09" then nextcloud18
419 # 21.03 will not be an official release - it was instead 21.05.
420 # This versionOlder statement remains set to 21.03 for backwards compatibility.
421 # See https://github.com/NixOS/nixpkgs/pull/108899 and
422 # https://github.com/NixOS/rfcs/blob/master/rfcs/0080-nixos-release-schedule.md.
423 else if versionOlder stateVersion "21.03" then nextcloud19
424- else nextcloud21
0425 );
426 }
427···616617 services.nginx.enable = mkDefault true;
618619- services.nginx.virtualHosts.${cfg.hostName} = let
620- major = toInt (versions.major cfg.package.version);
621- in {
622 root = cfg.package;
623 locations = {
624 "= /robots.txt" = {
···92 package = mkOption {
93 type = types.package;
94 description = "Which package to use for the Nextcloud instance.";
95+ relatedPackages = [ "nextcloud20" "nextcloud21" "nextcloud22" ];
96 };
9798 maxUploadSize = mkOption {
···385 ];
386387 warnings = let
388+ latest = 22;
389 upgradeWarning = major: nixos:
390 ''
391 A legacy Nextcloud install (from before NixOS ${nixos}) may be installed.
···403 Using config.services.nextcloud.poolConfig is deprecated and will become unsupported in a future release.
404 Please migrate your configuration to config.services.nextcloud.poolSettings.
405 '')
0406 ++ (optional (versionOlder cfg.package.version "20") (upgradeWarning 19 "21.05"))
407+ ++ (optional (versionOlder cfg.package.version "21") (upgradeWarning 20 "21.05"))
408+ ++ (optional (versionOlder cfg.package.version "22") (upgradeWarning 21 "21.11"));
409410 services.nextcloud.package = with pkgs;
411 mkDefault (
···415 nextcloud defined in an overlay, please set `services.nextcloud.package` to
416 `pkgs.nextcloud`.
417 ''
0418 # 21.03 will not be an official release - it was instead 21.05.
419 # This versionOlder statement remains set to 21.03 for backwards compatibility.
420 # See https://github.com/NixOS/nixpkgs/pull/108899 and
421 # https://github.com/NixOS/rfcs/blob/master/rfcs/0080-nixos-release-schedule.md.
422 else if versionOlder stateVersion "21.03" then nextcloud19
423+ else if versionOlder stateVersion "21.11" then nextcloud21
424+ else nextcloud22
425 );
426 }
427···616617 services.nginx.enable = mkDefault true;
618619+ services.nginx.virtualHosts.${cfg.hostName} = {
00620 root = cfg.package;
621 locations = {
622 "= /robots.txt" = {
+1-1
nixos/modules/services/web-apps/nextcloud.xml
···11 desktop client is packaged at <literal>pkgs.nextcloud-client</literal>.
12 </para>
13 <para>
14- The current default by NixOS is <package>nextcloud21</package> which is also the latest
15 major version available.
16 </para>
17 <section xml:id="module-services-nextcloud-basic-usage">
···11 desktop client is packaged at <literal>pkgs.nextcloud-client</literal>.
12 </para>
13 <para>
14+ The current default by NixOS is <package>nextcloud22</package> which is also the latest
15 major version available.
16 </para>
17 <section xml:id="module-services-nextcloud-basic-usage">
···44# Those pieces of software we entirely ignore upstream's handling of, and just
45# make sure they're in the path if desired.
46let
47- k3sVersion = "1.21.0+k3s1"; # k3s git tag
48- k3sCommit = "2705431d9645d128441c578309574cd262285ae6"; # k3s git commit at the above version
4950 traefikChartVersion = "9.18.2"; # taken from ./scripts/download at TRAEFIK_VERSION
51 k3sRootVersion = "0.8.1"; # taken from ./scripts/download at ROOT_VERSION
···97 k3sRepo = fetchgit {
98 url = "https://github.com/k3s-io/k3s";
99 rev = "v${k3sVersion}";
100- sha256 = "sha256-xsXxf2ZYrkpOHlSFqTsHwWF3kChUjxWRjyDR3Dhg2ho=";
101 };
102 # Stage 1 of the k3s build:
103 # Let's talk about how k3s is structured.
···44# Those pieces of software we entirely ignore upstream's handling of, and just
45# make sure they're in the path if desired.
46let
47+ k3sVersion = "1.21.2+k3s1"; # k3s git tag
48+ k3sCommit = "5a67e8dc473f8945e8e181f6f0b0dbbc387f6fca"; # k3s git commit at the above version
4950 traefikChartVersion = "9.18.2"; # taken from ./scripts/download at TRAEFIK_VERSION
51 k3sRootVersion = "0.8.1"; # taken from ./scripts/download at ROOT_VERSION
···97 k3sRepo = fetchgit {
98 url = "https://github.com/k3s-io/k3s";
99 rev = "v${k3sVersion}";
100+ sha256 = "sha256-ZRkdHQ4RJ6XqE+DKE6wwpxetuKDG3k/4HaHyFxHev1U=";
101 };
102 # Stage 1 of the k3s build:
103 # Let's talk about how k3s is structured.
···2526 makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];
2728- uuid = "EasyScreenCast@iacopodeenosee.gmail.com";
2930 meta = with lib; {
31 description = "Simplifies the use of the video recording function integrated in gnome shell";
···2526 makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];
2728+ passthru.extensionUuid = "EasyScreenCast@iacopodeenosee.gmail.com";
2930 meta = with lib; {
31 description = "Simplifies the use of the video recording function integrated in gnome shell";
···2425 makeFlags = [ "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions" ];
2627- uuid = "arcmenu@arcmenu.com";
0002829 meta = with lib; {
30 description = "Application menu for GNOME Shell, designed to provide a more traditional user experience and workflow";
···2425 makeFlags = [ "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions" ];
2627+ passthru = {
28+ extensionUuid = "arcmenu@arcmenu.com";
29+ extensionPortalSlug = "arcmenu";
30+ };
3132 meta = with lib; {
33 description = "Application menu for GNOME Shell, designed to provide a more traditional user experience and workflow";
···24 "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions"
25 ];
2627- uuid = "dash-to-dock@micxgx.gmail.com";
0002829 meta = with lib; {
30 description = "A dock for the Gnome Shell";
···24 "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions"
25 ];
2627+ passthru = {
28+ extensionUuid = "dash-to-dock@micxgx.gmail.com";
29+ extensionPortalSlug = "dash-to-dock";
30+ };
3132 meta = with lib; {
33 description = "A dock for the Gnome Shell";
···14 "lockkeys@fawtytoo" = "lock-keys-2";
15160017 # These are conflicts for 3.38 extensions. They will very probably come back
18 # once more of them support 40.
19···2627 # That extension is broken because of https://github.com/NixOS/nixpkgs/issues/118612
28 #"flypie@schneegans.github.com" = null;
0000000000000000000029}
···14 "lockkeys@fawtytoo" = "lock-keys-2";
151617+18+ # ############################################################################
19 # These are conflicts for 3.38 extensions. They will very probably come back
20 # once more of them support 40.
21···2829 # That extension is broken because of https://github.com/NixOS/nixpkgs/issues/118612
30 #"flypie@schneegans.github.com" = null;
31+32+33+34+ # ############################################################################
35+ # Overrides for extensions that were manually packaged in the past but are gradually
36+ # being replaced by automatic packaging where possible.
37+ #
38+ # The manually packaged ones:
39+ "EasyScreenCast@iacopodeenosee.gmail.com" = "easyScreenCast"; # extensionPortalSlug is "easyscreencast"
40+ "gnome-fuzzy-app-search@gnome-shell-extensions.Czarlie.gitlab.com" = "fuzzy-app-search"; # extensionPortalSlug is "gnome-fuzzy-app-search"
41+ "TopIcons@phocean.net" = "topicons-plus"; # extensionPortalSlug is "topicons"
42+ "paperwm@hedning:matrix.org" = "paperwm"; # is not on extensions.gnome.org
43+ "no-title-bar@jonaspoehler.de" = "no-title-bar"; # extensionPortalSlug is "no-title-bar-forked"
44+ # These extensions are automatically packaged at the moment. We preserve the old attribute name
45+ # for backwards compatibility.
46+ "appindicatorsupport@rgcjonas.gmail.com" = "appindicator"; # extensionPortalSlug is "appindicator-support"
47+ "unredirect@vaina.lt" = "disable-unredirect"; # extensionPortalSlug is "disable-unredirect-fullscreen-windows"
48+ "drawOnYourScreen@abakkk.framagit.org" = "draw-on-your-screen"; # extensionPortalSlug is "draw-on-you-screen"
49+ "timepp@zagortenay333" = "timepp"; # extensionPortalSlug is "time"
50+ "windowIsReady_Remover@nunofarruca@gmail.com" = "window-is-ready-remover"; # extensionPortalSlug is "window-is-ready-notification-remover"
51}
···2324 makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];
2526- uuid = "no-title-bar@jonaspoehler.de";
002728 meta = with lib; {
29 description = "Integrates maximized windows with the top panel";
···2324 makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];
2526+ passthru = {
27+ extensionUuid = "no-title-bar@jonaspoehler.de";
28+ };
2930 meta = with lib; {
31 description = "Integrates maximized windows with the top panel";
···1718 makeFlags = [ "INSTALL_PATH=$(out)/share/gnome-shell/extensions" ];
1920- uuid = "TopIcons@phocean.net";
2122 meta = with lib; {
23 description = "Brings all icons back to the top panel, so that it's easier to keep track of apps running in the backround";
···1718 makeFlags = [ "INSTALL_PATH=$(out)/share/gnome-shell/extensions" ];
1920+ passthru.extensionUuid = "TopIcons@phocean.net";
2122 meta = with lib; {
23 description = "Brings all icons back to the top panel, so that it's easier to keep track of apps running in the backround";
···23 homepage = "https://geographiclib.sourceforge.io";
24 description = "Algorithms for geodesics (Karney, 2013) for solving the direct and inverse problems for an ellipsoid of revolution";
25 license = licenses.mit;
26- maintainers = with maintainers; [ va1entin ];
27 };
28}
···23 homepage = "https://geographiclib.sourceforge.io";
24 description = "Algorithms for geodesics (Karney, 2013) for solving the direct and inverse problems for an ellipsoid of revolution";
25 license = licenses.mit;
026 };
27}
···1+{ lib
2+, stdenv
3+, fetchgit
4+, requireFile
5+, pkg-config
6+, libusb1
7+, p7zip
8+}:
9+10+let
11+ # The last known good firmware package to have been tested
12+ # by the upstream projet.
13+ # The firmware URL is hardcoded in the upstream project's installation script
14+ firmwareUrl = "https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi";
15+ # The original URL "https://research.microsoft.com/en-us/um/legal/kinectsdk-tou_noncommercial.htm"
16+ # redirects to the following url:
17+ licenseUrl = "https://www.microsoft.com/en-us/legal/terms-of-use";
18+in
19+stdenv.mkDerivation rec {
20+ pname = "kinect-audio-setup";
21+22+ # On update: Make sure that the `firmwareURL` is still in sync with upstream.
23+ # If the project structure hasn't changed you can find the URL in the
24+ # `kinect_fetch_fw` file in the project source.
25+ version = "0.5";
26+27+ # This is an MSI or CAB file
28+ FIRMWARE = requireFile rec {
29+ name = "UACFirmware";
30+ sha256 = "08a2vpgd061cmc6h3h8i6qj3sjvjr1fwcnwccwywqypz3icn8xw1";
31+ message = ''
32+ In order to install the Kinect Audio Firmware, you need to download the
33+ non-redistributable firmware from Microsoft.
34+ The firmware is available at ${firmwareUrl} and the license at ${licenseUrl} .
35+ Save the file as UACFirmware and use "nix-prefetch-url file://\$PWD/UACFirmware" to
36+ add it to the Nix store.
37+ '';
38+ };
39+40+ src = fetchgit {
41+ url = "git://git.ao2.it/kinect-audio-setup.git";
42+ rev = "v${version}";
43+ sha256 = "sha256-bFwmWh822KvFwP/0Gu097nF5K2uCwCLMB1RtP7k+Zt0=";
44+ };
45+46+ # These patches are not upstream because the project has seen no
47+ # activity since 2016
48+ patches = [
49+ ./libusb-1-import-path.patch
50+ ./udev-rules-extra-devices.patch
51+ ];
52+53+ nativeBuildInputs = [ p7zip libusb1 pkg-config ];
54+55+ makeFlags = [
56+ "PREFIX=$(out)"
57+ "DESTDIR=$(out)"
58+ "FIRMWARE_PATH=$(out)/lib/firmware/UACFirmware"
59+ "LOADER_PATH=$(out)/libexec/kinect_upload_fw"
60+ ];
61+62+ buildPhase = ''
63+ runHook preBuild
64+ make -C kinect_upload_fw kinect_upload_fw $makeFlags "''${makeFlagsArray[@]}"
65+ runHook postBuild
66+ '';
67+68+ installPhase = ''
69+ runHook preInstall
70+ mkdir -p $out/libexec/ $out/lib/firmware $out/lib/udev/rules.d
71+72+ install -Dm755 kinect_upload_fw/kinect_upload_fw $out/libexec/
73+74+ # 7z extract "assume yes on all queries" "only extract/keep files/directories matching UACFIRMWARE.* recursively"
75+ 7z e -y -r "${FIRMWARE}" "UACFirmware.*" >/dev/null
76+ # The filename is bound to change with the Firmware SDK
77+ mv UACFirmware.* $out/lib/firmware/UACFirmware
78+79+ make install_udev_rules $makeFlags "''${makeFlagsArray[@]}"
80+81+ runHook postInstall
82+ '';
83+84+ meta = with lib; {
85+ description = "Tools to enable audio input from the Microsoft Kinect sensor device";
86+ homepage = "https://git.ao2.it/kinect-audio-setup.git";
87+ maintainers = with maintainers; [ berbiche ];
88+ platforms = platforms.linux;
89+ license = licenses.unfree;
90+ };
91+}
···33 };
34 };
35in {
36- nextcloud18 = throw ''
37- Nextcloud v18 has been removed from `nixpkgs` as the support for it was dropped
38- by upstream in 2021-01. Please upgrade to at least Nextcloud v19 by
39 declaring
4041- services.nextcloud.package = pkgs.nextcloud19;
4243 in your NixOS config.
44-45- [1] https://docs.nextcloud.com/server/18/admin_manual/release_schedule.html
46 '';
4748- # FIXME(@Ma27) remove on 21.05
49- nextcloud19 = generic {
50- version = "19.0.6";
51- sha256 = "sha256-pqqIayE0OyTailtd2zeYi+G1APjv/YHqyO8jCpq7KJg=";
52- extraVulnerabilities = [
53- "Nextcloud 19 is still supported, but CVE-2020-8259 & CVE-2020-8152 are unfixed! Please note that both CVEs only affect the file encryption module which is turned off by default. Alternatively, `pkgs.nextcloud20` can be used."
54- ];
55- };
56-57 nextcloud20 = generic {
58- version = "20.0.7";
59- sha256 = "sha256-jO2Ct3K/CvZ9W+EyPkD5d0KbwKK8yGQJXvx4dnUAtys=";
60 };
6162 nextcloud21 = generic {
63- version = "21.0.2";
64- sha256 = "5e5b38109a3485db5fd2d248f24478eabe6c0790ec10b030acbbee207d5511fe";
0000065 };
66 # tip: get she sha with:
67 # curl 'https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha256'
···33 };
34 };
35in {
36+ nextcloud19 = throw ''
37+ Nextcloud v19 has been removed from `nixpkgs` as the support for it was dropped
38+ by upstream in 2021-06. Please upgrade to at least Nextcloud v20 by
39 declaring
4041+ services.nextcloud.package = pkgs.nextcloud20;
4243 in your NixOS config.
0044 '';
4500000000046 nextcloud20 = generic {
47+ version = "20.0.11";
48+ sha256 = "sha256-CLrJH5eNTiJJrDzfCg+re3J2qmwxFOe12nUU/QgtD6A=";
49 };
5051 nextcloud21 = generic {
52+ version = "21.0.3";
53+ sha256 = "8adcd175c7a70c33332586fa9ce36d03ba02d1df5d4c334d1210201d3fb953ee";
54+ };
55+56+ nextcloud22 = generic {
57+ version = "22.0.0";
58+ sha256 = "sha256-ORHTdUw3rKfJtfOys3UTwPK1u5ea8AgWwRF7Hu28XXo=";
59 };
60 # tip: get she sha with:
61 # curl 'https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha256'
+3-3
pkgs/servers/plex/raw.nix
···12# server, and the FHS userenv and corresponding NixOS module should
13# automatically pick up the changes.
14stdenv.mkDerivation rec {
15- version = "1.23.3.4707-ebb5fe9f3";
16 pname = "plexmediaserver";
1718 # Fetch the source
19 src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl {
20 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb";
21- sha256 = "0b3xsyrpz1098lyqfapnjp7k55d07qg7h9avc7f3zmpkiclxf2ry";
22 } else fetchurl {
23 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb";
24- sha256 = "1as83prhlfi4g172k3mgm6p8k58zm4bahjf8bp8pyxcmgiii76m0";
25 };
2627 outputs = [ "out" "basedb" ];
···12# server, and the FHS userenv and corresponding NixOS module should
13# automatically pick up the changes.
14stdenv.mkDerivation rec {
15+ version = "1.23.4.4805-186bae04e";
16 pname = "plexmediaserver";
1718 # Fetch the source
19 src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl {
20 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb";
21+ sha256 = "161baz4klwb8wyvc3mnbvvwjcmdfp38rn270jwvmwzp6b70jclyx";
22 } else fetchurl {
23 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb";
24+ sha256 = "0vj7k81fl8chaxqz287arvn9vva4cd4wcnybc5yvls3589h9x1zq";
25 };
2627 outputs = [ "out" "basedb" ];
···50 "/tex/generic/config" # make it a real directory for scheme-infraonly
51 ];
5253- buildInputs = [ makeWrapper ] ++ pkgList.extraInputs;
05455 # This is set primarily to help find-tarballs.nix to do its job
56 passthru.packages = pkgList.all;
···50 "/tex/generic/config" # make it a real directory for scheme-infraonly
51 ];
5253+ nativeBuildInputs = [ makeWrapper ];
54+ buildInputs = pkgList.extraInputs;
5556 # This is set primarily to help find-tarballs.nix to do its job
57 passthru.packages = pkgList.all;
+2
pkgs/top-level/aliases.nix
···129 clang12Stdenv = lowPrio llvmPackages_12.stdenv;
130131 clangAnalyzer = clang-analyzer; # added 2015-02-20
0132 clawsMail = claws-mail; # added 2016-04-29
133 clutter_gtk = clutter-gtk; # added 2018-02-25
134 cmakeWithQt4Gui = throw "cmakeWithQt4Gui has been removed in favor of cmakeWithGui (Qt 5)"; # added 2021-05
···540 osxfuse = macfuse-stubs; # added 2021-03-20
541 otter-browser = throw "otter-browser has been removed from nixpkgs, as it was unmaintained"; # added 2020-02-02
542 owncloudclient = owncloud-client; # added 2016-08
0543 p11_kit = p11-kit; # added 2018-02-25
544 parity = openethereum; # added 2020-08-01
545 parquet-cpp = arrow-cpp; # added 2018-09-08
···129 clang12Stdenv = lowPrio llvmPackages_12.stdenv;
130131 clangAnalyzer = clang-analyzer; # added 2015-02-20
132+ claws-mail-gtk3 = claws-mail; # added 2021-07-10
133 clawsMail = claws-mail; # added 2016-04-29
134 clutter_gtk = clutter-gtk; # added 2018-02-25
135 cmakeWithQt4Gui = throw "cmakeWithQt4Gui has been removed in favor of cmakeWithGui (Qt 5)"; # added 2021-05
···541 osxfuse = macfuse-stubs; # added 2021-03-20
542 otter-browser = throw "otter-browser has been removed from nixpkgs, as it was unmaintained"; # added 2020-02-02
543 owncloudclient = owncloud-client; # added 2016-08
544+ ocz-ssd-guru = throw "ocz-ssd-guru has been removed due to there being no source available"; # added 2021-07-12
545 p11_kit = p11-kit; # added 2018-02-25
546 parity = openethereum; # added 2020-08-01
547 parquet-cpp = arrow-cpp; # added 2018-09-08