···210210 </listitem>
211211 <listitem>
212212 <para>
213213+ The <literal>mailpile</literal> email webclient
214214+ (<literal>services.mailpile</literal>) has been removed due to
215215+ its reliance on python2.
216216+ </para>
217217+ </listitem>
218218+ <listitem>
219219+ <para>
213220 The MoinMoin wiki engine
214221 (<literal>services.moinmoin</literal>) has been removed,
215222 because Python 2 is being retired from nixpkgs.
+2
nixos/doc/manual/release-notes/rl-2205.section.md
···71717272- `services.kubernetes.addons.dashboard` was removed due to it being an outdated version.
73737474+- The `mailpile` email webclient (`services.mailpile`) has been removed due to its reliance on python2.
7575+7476- The MoinMoin wiki engine (`services.moinmoin`) has been removed, because Python 2 is being retired from nixpkgs.
75777678- The `wafHook` hook now honors `NIX_BUILD_CORES` when `enableParallelBuilding` is not set explicitly. Packages can restore the old behaviour by setting `enableParallelBuilding=false`.
···5151 (mkRemovedOptionModule [ "services" "fourStoreEndpoint" ] "The fourStoreEndpoint module has been removed")
5252 (mkRemovedOptionModule [ "services" "frab" ] "The frab module has been removed")
5353 (mkRemovedOptionModule [ "services" "kippo" ] "The corresponding package was removed from nixpkgs.")
5454+ (mkRemovedOptionModule [ "services" "mailpile" ] "The corresponding package was removed from nixpkgs.")
5455 (mkRemovedOptionModule [ "services" "marathon" ] "The corresponding package was removed from nixpkgs.")
5556 (mkRemovedOptionModule [ "services" "mathics" ] "The Mathics module has been removed")
5657 (mkRemovedOptionModule [ "services" "meguca" ] "Use meguca has been removed from nixpkgs")
···11-{ stdenv, runtimeShell, lib, fetchurl, python2Packages, unzip }:
22-33-# This package uses a precompiled "binary" distribution of CuraByDagoma,
44-# distributed by the editor.
55-#
66-# To update the package, follow the links on https://dist.dagoma.fr/:
77-# * Cura By Dagoma
88-# * Linux
99-# * 64 bits
1010-# * Genric archive
1111-#
1212-# I made the arbitrary choice to compile this package only for x86_64.
1313-# I guess people owning a 3D printer generally don't use i686.
1414-# If, however, someone needs it, we certainly can find a solution.
1515-1616-let
1717- pythonPackages = python2Packages;
1818-in stdenv.mkDerivation rec {
1919- pname = "curabydagoma";
2020- # Version is the date, UNIX format
2121- version = "1520506579";
2222- # Hash of the user's choice: os, arch, package type...
2323- hash = "58228cce5bbdcf764b7116850956f1e5";
2424-2525- src = fetchurl {
2626- url = "https://dist.dagoma.fr/get/zip/CuraByDagoma/${version}/${hash}";
2727- sha256 = "16wfipdyjkf6dq8awjzs4zgkmqk6230277mf3iz8swday9hns8pq";
2828- };
2929- unpackCmd = "unzip $curSrc && tar zxf CuraByDagoma_amd64.tar.gz";
3030- nativeBuildInputs = [ unzip ];
3131- buildInputs = [ pythonPackages.python pythonPackages.pyopengl pythonPackages.wxPython pythonPackages.pyserial pythonPackages.numpy ];
3232-3333- # Compile all pyc files because the included pyc files may be older than the
3434- # py files. However, Python doesn't realize that because the packages
3535- # have all dates set to epoch.
3636- buildPhase = ''
3737- python -m compileall -f curabydago
3838- '';
3939-4040- # * Simply copy the stuff there
4141- # * Create an executable with the correct path etc
4242- # * Create a .desktop file to have a launcher in the desktop environments
4343- installPhase = ''
4444- mkdir $out
4545- cp -r * $out/
4646-4747- mkdir $out/bin
4848- cat > $out/bin/curabydago <<EOF
4949- #!${runtimeShell}
5050- export PYTHONPATH=$PYTHONPATH
5151- ${pythonPackages.python.interpreter} $out/curabydago/cura.py
5252- EOF
5353- chmod a+x $out/bin/curabydago
5454-5555- mkdir -p $out/share/applications
5656- cat > $out/share/applications/curabydago.desktop <<EOF
5757- [Desktop Entry]
5858- Type=Application
5959- Name=Cura-by-dagoma
6060- Comment=CuraByDagoma is a fork of Legacy Cura made by Dagoma for its own printers.
6161- Icon=$out/curabydago/resources/images/cura.ico
6262- Exec=$out/bin/curabydago
6363- Path=$out/
6464- StartupNotify=true
6565- Terminal=false
6666- Categories=GNOME;GTK;Utility;
6767- EOF
6868-6969- '';
7070-7171- meta = with lib; {
7272- description = "Slicer for 3D printers built by Dagoma";
7373- homepage = "https://dagoma.fr/cura-by-dagoma.html";
7474- license = licenses.agpl3;
7575- platforms = [ "x86_64-linux" ];
7676- maintainers = with maintainers; [ tiramiseb ];
7777- };
7878-}
-43
pkgs/applications/misc/metamorphose2/default.nix
···11-{ lib, stdenv, fetchgit, makeWrapper, gettext
22-, python27, python2Packages
33-}:
44-55-stdenv.mkDerivation {
66- pname = "metamorphose2";
77- version = "0.9.0beta";
88-99- # exif-py vendored via submodule
1010- # mutagen vendored via copy
1111- src = fetchgit {
1212- url = "https://github.com/metamorphose/metamorphose2.git";
1313- #rev = "refs/tags/v2.${version}"; #for when wxPython3 support is released
1414- rev = "d2bdd6a86340b9668e93b35a6a568894c9909d68";
1515- sha256 = "0ivcb3c8hidrff0ivl4dnwa2p3ihpqjdbvdig8dhg9mm5phdbabn";
1616- };
1717-1818- postPatch = ''
1919- substituteInPlace messages/Makefile \
2020- --replace "\$(shell which msgfmt)" "${gettext}/bin/msgfmt"
2121- '';
2222-2323- postInstall = ''
2424- rm $out/bin/metamorphose2
2525- makeWrapper ${python27}/bin/python $out/bin/metamorphose2 \
2626- --prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath "$out") \
2727- --add-flags "-O $out/share/metamorphose2/metamorphose2.py -w=3"
2828- '';
2929-3030- buildInput = [ gettext python27 ];
3131- nativeBuildInputs = [ makeWrapper ];
3232- propagatedBuildInputs = [ python2Packages.wxPython python2Packages.pillow ];
3333-3434- makeFlags = [ "PREFIX=$(out)" ];
3535-3636- meta = with lib; {
3737- description = "a graphical mass renaming program for files and folders";
3838- homepage = "https://github.com/metamorphose/metamorphose2";
3939- license = with licenses; gpl3Plus;
4040- maintainers = with maintainers; [ ramkromberg ];
4141- platforms = with platforms; linux;
4242- };
4343-}
···11-# The launcher game starts projects in a separate python process
22-# with the -E flag, which prevents the nix set PYTHONPATH envvar
33-# from taking effect, preventing the loading of pygame_sdl2
44---- a/launcher/game/project.rpy
55-+++ b/launcher/game/project.rpy
66-@@ -239,7 +239,7 @@
77- raise Exception("Python interpreter not found: %r", executables)
88-99- # Put together the basic command line.
1010-- cmd = [ executable, "-EO", sys.argv[0] ]
1111-+ cmd = [ executable, "-O", sys.argv[0] ]
1212-1313- cmd.append(self.path)
1414- cmd.extend(args)
···11-{ lib, python2Packages, fetchFromGitHub, pkg-config, glib, alsa-lib, libjack2 }:
22-33-python2Packages.buildPythonApplication {
44- version = "2015-11-17";
55- pname = "mididings";
66-77- src = fetchFromGitHub {
88- owner = "dsacre";
99- repo = "mididings";
1010- rev = "bbec99a8c878a2a7029e78e84fc736e4a68ed5a0";
1111- sha256 = "1pdf5mib87zy7yjh9vpasja419h28wvgq6x5hw2hkm7bg9ds4p2m";
1212- };
1313-1414- nativeBuildInputs = [ pkg-config ];
1515- buildInputs = [ glib alsa-lib libjack2 python2Packages.boost ];
1616- propagatedBuildInputs = with python2Packages; [ decorator ]
1717- # for livedings
1818- ++ [ tkinter pyliblo ]
1919- # for mididings.extra
2020- ++ [ dbus-python pyinotify ]
2121- # to read/write standard MIDI files
2222- ++ [ pysmf ]
2323- # so mididings knows where to look for config files
2424- ++ [ pyxdg ];
2525-2626- preBuild = with lib.versions; ''
2727- substituteInPlace setup.py \
2828- --replace boost_python "boost_python${major python2Packages.python.version}${minor python2Packages.python.version}"
2929- '';
3030-3131- meta = with lib; {
3232- description = "A MIDI router and processor based on Python, supporting ALSA and JACK MIDI";
3333- homepage = "http://das.nasophon.de/mididings";
3434- license = licenses.gpl2;
3535- maintainers = [ ];
3636- platforms = platforms.linux;
3737- };
3838-}
-29
pkgs/tools/networking/getmail/default.nix
···11-{ lib, fetchurl, python2Packages }:
22-33-python2Packages.buildPythonApplication rec {
44- pname = "getmail";
55- version = "5.14";
66-77- src = fetchurl {
88- url = "http://pyropus.ca/software/getmail/old-versions/${pname}-${version}.tar.gz";
99- sha256 = "1hcrd9h4g12f5gvl1djsbchcjry02ghq4icdr897s8v48pkrzagk";
1010- };
1111-1212- doCheck = false;
1313-1414- postPatch = ''
1515- # getmail spends a lot of effort to build an absolute path for
1616- # documentation installation; too bad it is counterproductive now
1717- sed -e '/datadir or prefix,/d' -i setup.py
1818- '';
1919-2020- meta = {
2121- description = "A program for retrieving mail";
2222- maintainers = [ lib.maintainers.raskin ];
2323- platforms = lib.platforms.linux;
2424-2525- homepage = "http://pyropus.ca/software/getmail/";
2626- updateWalker = true;
2727- license = lib.licenses.gpl2Plus;
2828- };
2929-}
+16
pkgs/top-level/aliases.nix
···100100 bitwarden_rs-postgresql = vaultwarden-postgresql;
101101 bitwarden_rs-vault = vaultwarden-vault;
102102103103+ blink = throw "blink has been removed from nixpkgs, it was unmaintained and required python2 at the time of removal."; # added 2022-01-12
103104 bs1770gain = throw "bs1770gain has been removed from nixpkgs, as it had no maintainer or reverse dependencies."; # added 2021-01-02
104105 bsod = throw "bsod has been removed: deleted by upstream"; # added 2022-01-07
105106 btc1 = throw "btc1 has been removed, it was abandoned by upstream"; # added 2020-11-03
···118119 casperjs = throw "casperjs has been removed, it was abandoned by upstream and broken.";
119120 catfish = xfce.catfish; # added 2019-12-22
120121 ccnet = throw "ccnet has been removed because seafile does not depend on it anymore"; # added 2021-03-25
122122+ cde-gtk-theme = throw "cde-gtk-theme has been removed from nixpkgs as it shipped with python2 scripts that didn't work anymore."; # added 2022-01-12
121123 cgmanager = throw "cgmanager was deprecated by lxc and therefore removed from nixpkgs."; # added 2020-06-05
122124 checkbashism = checkbashisms; # added 2016-08-16
123125 chronos = throw "chronos has been removed from nixpkgs, as it was unmaintained"; # added 2020-08-15
···180182 cups_filters = cups-filters; # added 2016-08
181183 cups-googlecloudprint = throw "Google Cloudprint is officially discontinued since Jan 2021, more info https://support.google.com/chrome/a/answer/9633006";
182184 cloud-print-connector = throw "Google Cloudprint is officially discontinued since Jan 2021, more info https://support.google.com/chrome/a/answer/9633006";
185185+ curaByDagoma = throw "curaByDagoma has been removed from nixpkgs, because it was unmaintained and dependent on python2 packages."; # added 2022-01-12
183186 curaLulzbot = throw "curaLulzbot has been removed due to insufficient upstream support for a modern dependency chain"; # added 2021-10-23
184187 cquery = throw "cquery has been removed because it is abandoned by upstream. Consider switching to clangd or ccls instead."; # added 2020-06-15
185188 cv = progress; # added 2015-09-06
···214217 desktop_file_utils = desktop-file-utils; # added 2018-02-25
215218 devicemapper = lvm2; # added 2018-04-25
216219 digikam5 = digikam; # added 2017-02-18
220220+ displaycal = throw "displaycal has been removed from nixpkgs, as it hasn't migrated to python3."; # added 2022-01-12
217221 dmtx = dmtx-utils; # added 2018-04-25
218222 dnnl = oneDNN; # added 2020-04-22
219223 docbook5_xsl = docbook_xsl_ns; # added 2018-04-25
···306310 gdb-multitarget = gdb; # added 2017-11-13
307311 gdk_pixbuf = gdk-pixbuf; # added 2019-05-22
308312 gettextWithExpat = gettext; # 2016-02-19
313313+ getmail = throw "getmail has been removed from nixpkgs, migrate to getmail6."; # added 2022-01-12
309314 giflib_4_1 = throw "giflib_4_1 has been removed; use giflib instead"; # 2020-02-12
310315 git-bz = throw "giz-bz has been removed from nixpkgs as it is stuck on python2."; # added 2022-01-01
311316 gitAndTools = self // { # added 2021-01-14
···318323 topGit = top-git;
319324 };
320325 gitin = throw "gitin has been remove because it was unmaintained and depended on an insecure version of libgit2"; # added 2021-12-07
326326+ gitinspector = throw "gitinspector has been removed because it doesn't work with python3."; # added 2022-01-12
321327 glib_networking = glib-networking; # added 2018-02-25
322328 gmailieer = lieer; # added 2020-04-19
323329 gmvault = throw "gmvault has been removed because it is unmaintained, mostly broken, and insecure"; # added 2021-03-08
···419425 kodiGBM = kodi-gbm;
420426 kodiPlain = kodi;
421427 kodiPlainWayland = kodi-wayland;
428428+ ino = throw "ino has been removed from nixpkgs, the project is stuck on python2 and upstream has archived the project."; # added 2022-01-12
422429 jellyfin_10_5 = throw "Jellyfin 10.5 is no longer supported and contains a security vulnerability. Please upgrade to a newer version."; # added 2021-04-26
423430 julia_07 = throw "julia_07 has been deprecated in favor of the latest LTS version"; # added 2020-09-15
424431 julia_1 = throw "julia_1 has been deprecated in favor of julia_10 as it was ambiguous"; # added 2021-03-13
···565572 lua5_1_sockets = lua51Packages.luasocket; # added 2017-05-02
566573 lua5_expat = luaPackages.luaexpat; # added 2017-05-02
567574 lua5_sec = luaPackages.luasec; # added 2017-05-02
575575+ lumpy = throw "lumpy has been removed from nixpkgs, as it is stuck on python2."; # added 2022-01-12
568576 lxappearance-gtk3 = throw "lxappearance-gtk3 has been removed. Use lxappearance instead, which now defaults to Gtk3"; # added 2020-06-03
569577 lzma = xz; # moved from top-level 2021-03-14
570578 m3d-linux = m33-linux; # added 2016-08-13
571579 mail-notification = throw "mail-notification has been removed from nixpkgs, as it's unmaintained and has dependencies on old gnome libraries we want to remove"; # added 2021-08-21
580580+ mailpile = throw "mailpile was removed from nixpkgs, as it is stuck on python2."; # added 2022-01-12
572581 man_db = man-db; # added 2016-05
573582 manpages = man-pages; # added 2015-12-06
574583 marathon = throw "marathon has been removed from nixpkgs, as it's unmaintained"; # added 2020-08-15
···580589 mbedtls_1_3 = throw "mbedtls_1_3 is end of life, see https://tls.mbed.org/kb/how-to/upgrade-2.0"; # added 2019-12-08
581590 meme = meme-image-generator; # added 2021-04-21
582591 mess = mame; # added 2019-10-30
592592+ metamorphose2 = throw "metamorphose2 has been removed from nixpkgs, as it was stuck on python2."; # added 2022-01-12
583593 mcgrid = throw "mcgrid has been removed from nixpkgs, as it's not compatible with rivet 3"; # added 2020-05-23
584594 mcomix = throw "mcomix has been removed from nixpkgs, as it's unmaintained; try mcomix3 a Python 3 fork"; # added 2019-12-10, modified 2020-11-25
595595+ mididings = throw "mididings has been removed from nixpkgs as it doesn't support recent python3 versions and its upstream stopped maintaining it."; # added 2022-01-12
585596 mimms = throw "mimms has been removed from nixpkgs as the upstream project is stuck on python2."; # added 2022-01-01
586597 mirage = throw "mirage has been removed from nixpkgs, as it's unmaintained"; # added 2019-12-10
587598 minergate = throw "minergate has been removed from nixpkgs, because the package is unmaintained and the site has a bad reputation"; # added 2021-08-13
···624635 nagiosPluginsOfficial = monitoring-plugins;
625636 navit = throw "navit has been removed from nixpkgs, due to being unmaintained"; # added 2021-06-07
626637 ncat = nmap; # added 2016-01-26
638638+ neap = throw "neap was removed from nixpkgs, as it relies on python2"; # added 2022-01-12
627639 netcat-openbsd = libressl.nc; # added 2018-04-25
628640 netease-cloud-music = throw "netease-cloud-music has been removed together with deepin"; # added 2020-08-31
629641 networkmanager_fortisslvpn = networkmanager-fortisslvpn; # added 2018-02-25
···800812 pybind11 = throw "pybind11 was removed because pythonPackages.pybind11 for the appropriate version of Python should be used"; # added 2021-05-14
801813 pybitmessage = throw "pybitmessage was removed from nixpkgs as it is stuck on python2."; # added 2022-01-01
802814 pynagsystemd = throw "pynagsystemd was removed as it was unmaintained and incompatible with recent systemd versions. Instead use its fork check_systemd."; # added 2020-10-24
815815+ pyrex = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-12
816816+ pyrex095 = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-12
817817+ pyrex096 = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-12
803818 pyrit = throw "pyrit has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-01
804819 python2nix = throw "python2nix has been removed as it is outdated. Use e.g. nixpkgs-pytools instead."; # added 2021-03-08
805820 python-swiftclient = swiftclient; # added 2021-09-09
···843858 radare2-cutter = cutter; # added 2021-03-30
844859 redkite = throw "redkite was archived by upstream"; # added 2021-04-12
845860 redshift-wlr = throw "redshift-wlr has been replaced by gammastep"; # added 2021-12-25
861861+ renpy = throw "renpy has been removed from nixpkgs, it was unmaintained and the latest packaged version required python2."; # added 2022-01-12
846862 retroArchCores = throw "retroArchCores has been removed. Please use overrides instead, e.g.: `retroarch.override { cores = with libretro; [ ... ]; }`"; # added 2021-11-19
847863 rkt = throw "rkt was archived by upstream"; # added 2020-05-16
848864 rpiboot-unstable = rpiboot; # added 2021-07-30