Merge pull request #154697 from mweinelt/python2-byebye

authored by Martin Weinelt and committed by GitHub ae02cde6 adde93f1

+52 -898
+7
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 210 210 </listitem> 211 211 <listitem> 212 212 <para> 213 + The <literal>mailpile</literal> email webclient 214 + (<literal>services.mailpile</literal>) has been removed due to 215 + its reliance on python2. 216 + </para> 217 + </listitem> 218 + <listitem> 219 + <para> 213 220 The MoinMoin wiki engine 214 221 (<literal>services.moinmoin</literal>) has been removed, 215 222 because Python 2 is being retired from nixpkgs.
+2
nixos/doc/manual/release-notes/rl-2205.section.md
··· 71 71 72 72 - `services.kubernetes.addons.dashboard` was removed due to it being an outdated version. 73 73 74 + - The `mailpile` email webclient (`services.mailpile`) has been removed due to its reliance on python2. 75 + 74 76 - The MoinMoin wiki engine (`services.moinmoin`) has been removed, because Python 2 is being retired from nixpkgs. 75 77 76 78 - The `wafHook` hook now honors `NIX_BUILD_CORES` when `enableParallelBuilding` is not set explicitly. Packages can restore the old behaviour by setting `enableParallelBuilding=false`.
+2 -2
nixos/modules/misc/ids.nix
··· 182 182 yandexdisk = 143; 183 183 mxisd = 144; # was once collectd 184 184 #consul = 145;# dynamically allocated as of 2021-09-03 185 - mailpile = 146; 185 + #mailpile = 146; # removed 2022-01-12 186 186 redmine = 147; 187 187 #seeks = 148; # removed 2020-06-21 188 188 prosody = 149; ··· 502 502 #yandexdisk = 143; # unused 503 503 mxisd = 144; # was once collectd 504 504 #consul = 145; # unused 505 - mailpile = 146; 505 + #mailpile = 146; # removed 2022-01-12 506 506 redmine = 147; 507 507 #seeks = 148; # removed 2020-06-21 508 508 prosody = 149;
-1
nixos/modules/module-list.nix
··· 791 791 ./services/networking/lldpd.nix 792 792 ./services/networking/logmein-hamachi.nix 793 793 ./services/networking/lxd-image-server.nix 794 - ./services/networking/mailpile.nix 795 794 ./services/networking/magic-wormhole-mailbox-server.nix 796 795 ./services/networking/matterbridge.nix 797 796 ./services/networking/mjpg-streamer.nix
+1
nixos/modules/rename.nix
··· 51 51 (mkRemovedOptionModule [ "services" "fourStoreEndpoint" ] "The fourStoreEndpoint module has been removed") 52 52 (mkRemovedOptionModule [ "services" "frab" ] "The frab module has been removed") 53 53 (mkRemovedOptionModule [ "services" "kippo" ] "The corresponding package was removed from nixpkgs.") 54 + (mkRemovedOptionModule [ "services" "mailpile" ] "The corresponding package was removed from nixpkgs.") 54 55 (mkRemovedOptionModule [ "services" "marathon" ] "The corresponding package was removed from nixpkgs.") 55 56 (mkRemovedOptionModule [ "services" "mathics" ] "The Mathics module has been removed") 56 57 (mkRemovedOptionModule [ "services" "meguca" ] "Use meguca has been removed from nixpkgs")
-74
nixos/modules/services/networking/mailpile.nix
··· 1 - { config, lib, pkgs, ... }: 2 - 3 - with lib; 4 - 5 - let 6 - 7 - cfg = config.services.mailpile; 8 - 9 - hostname = cfg.hostname; 10 - port = cfg.port; 11 - 12 - in 13 - 14 - { 15 - 16 - ###### interface 17 - 18 - options = { 19 - 20 - services.mailpile = { 21 - enable = mkEnableOption "Mailpile the mail client"; 22 - 23 - hostname = mkOption { 24 - type = types.str; 25 - default = "localhost"; 26 - description = "Listen to this hostname or ip."; 27 - }; 28 - port = mkOption { 29 - type = types.port; 30 - default = 33411; 31 - description = "Listen on this port."; 32 - }; 33 - }; 34 - 35 - }; 36 - 37 - 38 - ###### implementation 39 - 40 - config = mkIf config.services.mailpile.enable { 41 - 42 - users.users.mailpile = 43 - { uid = config.ids.uids.mailpile; 44 - description = "Mailpile user"; 45 - createHome = true; 46 - home = "/var/lib/mailpile"; 47 - }; 48 - 49 - users.groups.mailpile = 50 - { gid = config.ids.gids.mailpile; 51 - }; 52 - 53 - systemd.services.mailpile = 54 - { 55 - description = "Mailpile server."; 56 - after = [ "network.target" ]; 57 - wantedBy = [ "multi-user.target" ]; 58 - serviceConfig = { 59 - User = "mailpile"; 60 - ExecStart = "${pkgs.mailpile}/bin/mailpile --www ${hostname}:${port} --wait"; 61 - # mixed - first send SIGINT to main process, 62 - # then after 2min send SIGKILL to whole group if neccessary 63 - KillMode = "mixed"; 64 - KillSignal = "SIGINT"; # like Ctrl+C - safe mailpile shutdown 65 - TimeoutSec = 120; # wait 2min untill SIGKILL 66 - }; 67 - environment.MAILPILE_HOME = "/var/lib/mailpile/.local/share/Mailpile"; 68 - }; 69 - 70 - environment.systemPackages = [ pkgs.mailpile ]; 71 - 72 - }; 73 - 74 - }
-72
pkgs/applications/graphics/displaycal/default.nix
··· 1 - { python2 2 - , lib 3 - , fetchurl 4 - , pkg-config 5 - , libXext 6 - , libXxf86vm 7 - , libX11 8 - , libXrandr 9 - , libXinerama 10 - , libXScrnSaver 11 - , argyllcms 12 - }: 13 - 14 - let 15 - inherit (python2.pkgs) buildPythonApplication wxPython numpy dbus-python; 16 - in buildPythonApplication rec { 17 - pname = "displaycal"; 18 - version = "3.8.9.3"; 19 - 20 - enableParallelBuilding = true; 21 - 22 - src = fetchurl { 23 - url = "mirror://sourceforge/project/dispcalgui/release/${version}/DisplayCAL-${version}.tar.gz"; 24 - sha256 = "1sivi4q7sqsrc95qg5gh37bsm2761md4mpl89hflzwk6kyyxyd3w"; 25 - }; 26 - 27 - propagatedBuildInputs = [ 28 - libXext 29 - libXxf86vm 30 - libX11 31 - libXrandr 32 - libXinerama 33 - libXScrnSaver 34 - argyllcms 35 - wxPython 36 - numpy 37 - dbus-python 38 - ]; 39 - 40 - nativeBuildInputs = [ 41 - pkg-config 42 - ]; 43 - 44 - preConfigure = '' 45 - mkdir dist 46 - cp {misc,dist}/net.displaycal.DisplayCAL.appdata.xml 47 - touch dist/copyright 48 - mkdir -p $out 49 - ln -s $out/share/DisplayCAL $out/Resources 50 - ''; 51 - 52 - # no idea why it looks there - symlink .json lang (everything) 53 - postInstall = '' 54 - for x in $out/share/DisplayCAL/*; do 55 - ln -s $x $out/lib/python2.7/site-packages/DisplayCAL 56 - done 57 - 58 - for prog in "$out/bin/"*; do 59 - wrapProgram "$prog" \ 60 - --prefix PYTHONPATH : "$PYTHONPATH" \ 61 - --prefix PATH : ${argyllcms}/bin 62 - done 63 - ''; 64 - 65 - meta = { 66 - description = "Display Calibration and Characterization powered by Argyll CMS"; 67 - homepage = "https://displaycal.net/"; 68 - license = lib.licenses.gpl3; 69 - maintainers = [lib.maintainers.marcweber]; 70 - platforms = lib.platforms.linux; 71 - }; 72 - }
-78
pkgs/applications/misc/curabydagoma/default.nix
··· 1 - { stdenv, runtimeShell, lib, fetchurl, python2Packages, unzip }: 2 - 3 - # This package uses a precompiled "binary" distribution of CuraByDagoma, 4 - # distributed by the editor. 5 - # 6 - # To update the package, follow the links on https://dist.dagoma.fr/: 7 - # * Cura By Dagoma 8 - # * Linux 9 - # * 64 bits 10 - # * Genric archive 11 - # 12 - # I made the arbitrary choice to compile this package only for x86_64. 13 - # I guess people owning a 3D printer generally don't use i686. 14 - # If, however, someone needs it, we certainly can find a solution. 15 - 16 - let 17 - pythonPackages = python2Packages; 18 - in stdenv.mkDerivation rec { 19 - pname = "curabydagoma"; 20 - # Version is the date, UNIX format 21 - version = "1520506579"; 22 - # Hash of the user's choice: os, arch, package type... 23 - hash = "58228cce5bbdcf764b7116850956f1e5"; 24 - 25 - src = fetchurl { 26 - url = "https://dist.dagoma.fr/get/zip/CuraByDagoma/${version}/${hash}"; 27 - sha256 = "16wfipdyjkf6dq8awjzs4zgkmqk6230277mf3iz8swday9hns8pq"; 28 - }; 29 - unpackCmd = "unzip $curSrc && tar zxf CuraByDagoma_amd64.tar.gz"; 30 - nativeBuildInputs = [ unzip ]; 31 - buildInputs = [ pythonPackages.python pythonPackages.pyopengl pythonPackages.wxPython pythonPackages.pyserial pythonPackages.numpy ]; 32 - 33 - # Compile all pyc files because the included pyc files may be older than the 34 - # py files. However, Python doesn't realize that because the packages 35 - # have all dates set to epoch. 36 - buildPhase = '' 37 - python -m compileall -f curabydago 38 - ''; 39 - 40 - # * Simply copy the stuff there 41 - # * Create an executable with the correct path etc 42 - # * Create a .desktop file to have a launcher in the desktop environments 43 - installPhase = '' 44 - mkdir $out 45 - cp -r * $out/ 46 - 47 - mkdir $out/bin 48 - cat > $out/bin/curabydago <<EOF 49 - #!${runtimeShell} 50 - export PYTHONPATH=$PYTHONPATH 51 - ${pythonPackages.python.interpreter} $out/curabydago/cura.py 52 - EOF 53 - chmod a+x $out/bin/curabydago 54 - 55 - mkdir -p $out/share/applications 56 - cat > $out/share/applications/curabydago.desktop <<EOF 57 - [Desktop Entry] 58 - Type=Application 59 - Name=Cura-by-dagoma 60 - Comment=CuraByDagoma is a fork of Legacy Cura made by Dagoma for its own printers. 61 - Icon=$out/curabydago/resources/images/cura.ico 62 - Exec=$out/bin/curabydago 63 - Path=$out/ 64 - StartupNotify=true 65 - Terminal=false 66 - Categories=GNOME;GTK;Utility; 67 - EOF 68 - 69 - ''; 70 - 71 - meta = with lib; { 72 - description = "Slicer for 3D printers built by Dagoma"; 73 - homepage = "https://dagoma.fr/cura-by-dagoma.html"; 74 - license = licenses.agpl3; 75 - platforms = [ "x86_64-linux" ]; 76 - maintainers = with maintainers; [ tiramiseb ]; 77 - }; 78 - }
-43
pkgs/applications/misc/metamorphose2/default.nix
··· 1 - { lib, stdenv, fetchgit, makeWrapper, gettext 2 - , python27, python2Packages 3 - }: 4 - 5 - stdenv.mkDerivation { 6 - pname = "metamorphose2"; 7 - version = "0.9.0beta"; 8 - 9 - # exif-py vendored via submodule 10 - # mutagen vendored via copy 11 - src = fetchgit { 12 - url = "https://github.com/metamorphose/metamorphose2.git"; 13 - #rev = "refs/tags/v2.${version}"; #for when wxPython3 support is released 14 - rev = "d2bdd6a86340b9668e93b35a6a568894c9909d68"; 15 - sha256 = "0ivcb3c8hidrff0ivl4dnwa2p3ihpqjdbvdig8dhg9mm5phdbabn"; 16 - }; 17 - 18 - postPatch = '' 19 - substituteInPlace messages/Makefile \ 20 - --replace "\$(shell which msgfmt)" "${gettext}/bin/msgfmt" 21 - ''; 22 - 23 - postInstall = '' 24 - rm $out/bin/metamorphose2 25 - makeWrapper ${python27}/bin/python $out/bin/metamorphose2 \ 26 - --prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath "$out") \ 27 - --add-flags "-O $out/share/metamorphose2/metamorphose2.py -w=3" 28 - ''; 29 - 30 - buildInput = [ gettext python27 ]; 31 - nativeBuildInputs = [ makeWrapper ]; 32 - propagatedBuildInputs = [ python2Packages.wxPython python2Packages.pillow ]; 33 - 34 - makeFlags = [ "PREFIX=$(out)" ]; 35 - 36 - meta = with lib; { 37 - description = "a graphical mass renaming program for files and folders"; 38 - homepage = "https://github.com/metamorphose/metamorphose2"; 39 - license = with licenses; gpl3Plus; 40 - maintainers = with maintainers; [ ramkromberg ]; 41 - platforms = with platforms; linux; 42 - }; 43 - }
-44
pkgs/applications/misc/neap/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, python2Packages }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "neap"; 5 - version = "0.7.2"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "vzxwco"; 9 - repo = "neap"; 10 - rev = "v${version}"; 11 - sha256 = "04da8rq23rl1qcvrdm5m3l90xbwyli7x601sckv7hmkip2q3g1kz"; 12 - }; 13 - 14 - nativeBuildInputs = [ 15 - python2Packages.wrapPython 16 - ]; 17 - 18 - buildInputs = [ 19 - python2Packages.python 20 - ]; 21 - 22 - pythonPath = [ 23 - python2Packages.xlib 24 - python2Packages.pygtk 25 - ]; 26 - 27 - installPhase = '' 28 - install -D -t $out/bin neap 29 - install -D -t $out/share/man/man1 neap.1 30 - install -D -t $out/share/applications neap.desktop 31 - ''; 32 - 33 - postFixup = '' 34 - wrapPythonPrograms 35 - ''; 36 - 37 - meta = with lib; { 38 - description = "Systray workspace pager"; 39 - homepage = "https://github.com/vzxwco/neap"; 40 - license = licenses.bsd2; 41 - platforms = platforms.unix; 42 - maintainers = [ maintainers.romildo ]; 43 - }; 44 - }
-68
pkgs/applications/networking/instant-messengers/blink/default.nix
··· 1 - { lib, fetchdarcs, python2Packages, libvncserver, zlib 2 - , gnutls, libvpx, makeDesktopItem, mkDerivationWith }: 3 - 4 - mkDerivationWith python2Packages.buildPythonApplication rec { 5 - 6 - pname = "blink"; 7 - version = "3.2.0"; 8 - 9 - src = fetchdarcs { 10 - url = "http://devel.ag-projects.com/repositories/blink-qt"; 11 - rev = "release-${version}"; 12 - sha256 = "19rcwr5scw48qnj79q1pysw95fz9h98nyc3161qy2kph5g7dwkc3"; 13 - }; 14 - 15 - patches = [ ./pythonpath.patch ]; 16 - postPatch = '' 17 - sed -i 's|@out@|'"''${out}"'|g' blink/resources.py 18 - ''; 19 - 20 - propagatedBuildInputs = with python2Packages; [ 21 - pyqt5_with_qtwebkit 22 - cjson 23 - sipsimple 24 - twisted 25 - google-api-python-client 26 - ]; 27 - 28 - buildInputs = [ 29 - python2Packages.cython 30 - zlib 31 - libvncserver 32 - libvpx 33 - ]; 34 - 35 - desktopItem = makeDesktopItem { 36 - name = "Blink"; 37 - exec = "blink"; 38 - comment = meta.description; 39 - desktopName = "Blink"; 40 - icon = "blink"; 41 - genericName = "Instant Messaging"; 42 - categories = "Internet;"; 43 - }; 44 - 45 - dontWrapQtApps = true; 46 - 47 - postInstall = '' 48 - mkdir -p "$out/share/applications" 49 - mkdir -p "$out/share/pixmaps" 50 - cp "$desktopItem"/share/applications/* "$out/share/applications" 51 - cp "$out"/share/blink/icons/blink.* "$out/share/pixmaps" 52 - ''; 53 - 54 - preFixup = '' 55 - makeWrapperArgs+=( 56 - --prefix "LD_LIBRARY_PATH" ":" "${gnutls.out}/lib" 57 - "''${qtWrapperArgs[@]}" 58 - ) 59 - ''; 60 - 61 - meta = with lib; { 62 - homepage = "https://icanblink.com/"; 63 - description = "A state of the art, easy to use SIP client for Voice, Video and IM"; 64 - platforms = platforms.linux; 65 - license = licenses.gpl3; 66 - maintainers = with maintainers; [ pSub ]; 67 - }; 68 - }
-49
pkgs/applications/networking/instant-messengers/blink/pythonpath.patch
··· 1 - --- blink-2.0.0/blink/resources.py 2016-03-09 14:39:07.000000000 +0100 2 - +++ blink-2.0.0/blink/resources-patched.py 2016-03-12 21:34:14.965476623 +0100 3 - @@ -1,7 +1,10 @@ 4 - +# Copyright (C) 2010-2013 AG Projects. See LICENSE for details. 5 - +# 6 - 7 - """Provide access to Blink's resources""" 8 - 9 - -import __main__ 10 - +__all__ = ['ApplicationData', 'Resources', 'IconManager'] 11 - + 12 - import imghdr 13 - import os 14 - import platform 15 - @@ -19,14 +22,10 @@ 16 - from blink.util import run_in_gui_thread 17 - 18 - 19 - -__all__ = ['ApplicationData', 'Resources', 'IconManager'] 20 - - 21 - - 22 - class DirectoryContextManager(unicode): 23 - def __enter__(self): 24 - self.directory = os.getcwdu() 25 - os.chdir(self) 26 - - 27 - def __exit__(self, type, value, traceback): 28 - os.chdir(self.directory) 29 - 30 - @@ -61,18 +60,7 @@ 31 - @classproperty 32 - def directory(cls): 33 - if cls._cached_directory is None: 34 - - try: 35 - - binary_directory = os.path.dirname(os.path.realpath(__main__.__file__)) 36 - - except AttributeError: 37 - - if hasattr(sys, 'frozen'): 38 - - application_directory = os.path.dirname(os.path.realpath(sys.executable)) 39 - - else: 40 - - application_directory = os.path.realpath('') # executed in interactive interpreter 41 - - else: 42 - - if os.path.basename(binary_directory) == 'bin': 43 - - application_directory = os.path.dirname(binary_directory) 44 - - else: 45 - - application_directory = binary_directory 46 - + application_directory = '@out@' 47 - if os.path.exists(os.path.join(application_directory, 'resources', 'blink.ui')): 48 - cls._cached_directory = os.path.join(application_directory, 'resources').decode(sys.getfilesystemencoding()) 49 - else:
-52
pkgs/applications/networking/mailreaders/mailpile/default.nix
··· 1 - { lib, fetchFromGitHub, python2Packages, gnupg1orig, openssl, git }: 2 - 3 - python2Packages.buildPythonApplication rec { 4 - pname = "mailpile"; 5 - version = "1.0.0rc2"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "mailpile"; 9 - repo = "Mailpile"; 10 - rev = version; 11 - sha256 = "1z5psh00fjr8gnl4yjcl4m9ywfj24y1ffa2rfb5q8hq4ksjblbdj"; 12 - }; 13 - 14 - postPatch = '' 15 - patchShebangs scripts 16 - ''; 17 - 18 - nativeBuildInputs = with python2Packages; [ pbr git ]; 19 - PBR_VERSION=version; 20 - 21 - propagatedBuildInputs = with python2Packages; [ 22 - appdirs 23 - cryptography 24 - fasteners 25 - gnupg1orig 26 - jinja2 27 - pgpdump 28 - pillow 29 - python2Packages.lxml 30 - spambayes 31 - ]; 32 - 33 - postInstall = '' 34 - wrapProgram $out/bin/mailpile \ 35 - --prefix PATH ":" "${lib.makeBinPath [ gnupg1orig openssl ]}" \ 36 - --set-default MAILPILE_SHARED "$out/share/mailpile" 37 - ''; 38 - 39 - # No tests were found 40 - doCheck = false; 41 - 42 - meta = with lib; { 43 - description = "A modern, fast web-mail client with user-friendly encryption and privacy features"; 44 - homepage = "https://www.mailpile.is/"; 45 - license = [ licenses.asl20 licenses.agpl3 ]; 46 - platforms = platforms.linux; 47 - maintainers = [ ]; 48 - knownVulnerabilities = [ 49 - "Numerous and uncounted, upstream has requested we not package it. See more: https://github.com/NixOS/nixpkgs/pull/23058#issuecomment-283515104" 50 - ]; 51 - }; 52 - }
-50
pkgs/applications/science/biology/lumpy/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, htslib, zlib, curl, openssl, samblaster, sambamba 2 - , samtools, hexdump, python2Packages, which }: 3 - 4 - let 5 - python = 6 - python2Packages.python.withPackages (pkgs: with pkgs; [ pysam numpy ]); 7 - 8 - in stdenv.mkDerivation rec { 9 - pname = "lumpy"; 10 - version = "0.3.1"; 11 - 12 - src = fetchFromGitHub { 13 - owner = "arq5x"; 14 - repo = "lumpy-sv"; 15 - rev = "v${version}"; 16 - sha256 = "0r71sg7qch8r6p6dw995znrqdj6q49hjdylhzbib2qmv8nvglhs9"; 17 - fetchSubmodules = true; 18 - }; 19 - 20 - nativeBuildInputs = [ which ]; 21 - buildInputs = 22 - [ htslib zlib curl openssl python samblaster sambamba samtools hexdump ]; 23 - 24 - preConfigure = '' 25 - patchShebangs ./. 26 - 27 - # Use Nix htslib over bundled version 28 - sed -i 's/lumpy_filter: htslib/lumpy_filter:/' Makefile 29 - sed -i 's|../../lib/htslib/libhts.a|-lhts|' src/filter/Makefile 30 - # Also make sure we use the includes from Nix's htslib 31 - sed -i 's|../../lib/htslib/|${htslib}|' src/filter/Makefile 32 - ''; 33 - 34 - # Upstream's makefile doesn't have an install target 35 - installPhase = '' 36 - mkdir -p $out 37 - cp -r bin $out 38 - cp -r scripts $out 39 - sed -i 's|/build/source|'$out'|' $out/bin/lumpyexpress.config 40 - ''; 41 - 42 - meta = with lib; { 43 - description = "Probabilistic structural variant caller"; 44 - homepage = "https://github.com/arq5x/lumpy-sv"; 45 - maintainers = with maintainers; [ jbedo ]; 46 - license = licenses.mit; 47 - platforms = [ "x86_64-linux" ]; 48 - }; 49 - 50 - }
+8 -5
pkgs/applications/version-management/git-crecord/default.nix
··· 1 - { lib, fetchFromGitHub, python2Packages }: 1 + { lib, fetchFromGitHub, python3 }: 2 2 3 - python2Packages.buildPythonApplication rec { 3 + python3.pkgs.buildPythonApplication rec { 4 4 pname = "git-crecord"; 5 - version = "20161216.0"; 5 + version = "20201025.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "andrewshadura"; 9 9 repo = "git-crecord"; 10 10 rev = version; 11 - sha256 = "0v3y90zi43myyi4k7q3892dcrbyi9dn2q6xgk12nw9db9zil269i"; 11 + sha256 = "1rkdmy2d2vsx22fx97nd9afh0g5lq4pns7rdxyl711apq1bhiihn"; 12 12 }; 13 13 14 - propagatedBuildInputs = with python2Packages; [ docutils ]; 14 + propagatedBuildInputs = with python3.pkgs; [ docutils ]; 15 + 16 + # has no tests 17 + doCheck = false; 15 18 16 19 meta = { 17 20 homepage = "https://github.com/andrewshadura/git-crecord";
-26
pkgs/applications/version-management/gitinspector/default.nix
··· 1 - { lib, fetchFromGitHub, python2Packages }: 2 - 3 - python2Packages.buildPythonApplication rec { 4 - pname = "gitinspector"; 5 - version = "0.4.4"; 6 - namePrefix = ""; 7 - 8 - src = fetchFromGitHub { 9 - owner = "ejwa"; 10 - repo = "gitinspector"; 11 - rev = "v${version}"; 12 - sha256 = "sha256-9bChvE5aAZFunu599pH7QKHZFd7aQzv0i9LURrvh2t0="; 13 - }; 14 - 15 - checkInputs = with python2Packages; [ 16 - unittest2 17 - ]; 18 - 19 - meta = with lib; { 20 - homepage = "https://github.com/ejwa/gitinspector"; 21 - description = "Statistical analysis tool for git repositories"; 22 - license = licenses.gpl3; 23 - platforms = platforms.all; 24 - maintainers = [ maintainers.bjornfor ]; 25 - }; 26 - }
-34
pkgs/data/themes/cdetheme/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, python2Packages }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "cdetheme"; 5 - version = "1.3"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "josvanr"; 9 - repo = "cde-motif-theme"; 10 - rev = version; 11 - sha256 = "1v5c4db69cmzdci8xxlkx3s3cifg1h5160qq5siwfps0sj7pvggj"; 12 - }; 13 - 14 - dontBuild = true; 15 - 16 - pythonPath = with python2Packages; [ pyqt4 pillow pyxdg pyyaml ]; 17 - nativeBuildInputs = with python2Packages; [ python wrapPython ]; 18 - 19 - installPhase = '' 20 - mkdir -p $out/share/themes 21 - cp -r cdetheme $out/share/themes 22 - patchShebangs $out/share/themes/cdetheme/scripts/switchtheme 23 - wrapPythonProgramsIn "$out/share/themes/cdetheme/scripts" "$out $pythonPath" 24 - ''; 25 - 26 - meta = with lib; { 27 - description = "Gtk2 / Gtk3 theme mimicking CDE / Motif"; 28 - homepage = "https://www.gnome-look.org/p/1231025"; 29 - license = licenses.gpl3; 30 - platforms = platforms.all; 31 - maintainers = with maintainers; [ ]; 32 - hydraPlatforms = []; 33 - }; 34 - }
-46
pkgs/development/embedded/arduino/ino/default.nix
··· 1 - { lib, fetchurl, python2Packages, picocom 2 - , avrdude, arduino-core }: 3 - 4 - python2Packages.buildPythonApplication rec { 5 - pname = "ino"; 6 - version = "0.3.6"; 7 - 8 - src = fetchurl { 9 - url = "mirror://pypi/i/ino/ino-${version}.tar.gz"; 10 - sha256 = "0k6lzfcn55favbj0w4afrvnmwyskf7bgzg9javv2ycvskp35srwv"; 11 - }; 12 - 13 - # TODO: add avrgcclibc, it must be rebuild with C++ support 14 - propagatedBuildInputs = with python2Packages; [ 15 - arduino-core 16 - avrdude 17 - picocom 18 - configobj 19 - jinja2 20 - pyserial 21 - six 22 - ]; 23 - 24 - patchPhase = '' 25 - echo "Patching Arduino distribution path" 26 - sed -i 's@/usr/local/share/arduino@${arduino-core}/share/arduino@g' \ 27 - ino/environment.py 28 - sed -i -e 's@argparse@@' -e 's@ordereddict@@' \ 29 - requirements.txt 30 - sed -i -e 's@from ordereddict@from collections@' \ 31 - ino/environment.py ino/utils.py 32 - 33 - # Patch the upload command so it uses the correct avrdude 34 - substituteInPlace ino/commands/upload.py \ 35 - --replace "self.e['avrdude']" "'${avrdude}/bin/avrdude'" \ 36 - --replace "'-C', self.e['avrdude.conf']," "" 37 - ''; 38 - 39 - meta = with lib; { 40 - description = "Command line toolkit for working with Arduino hardware"; 41 - homepage = "http://inotool.org/"; 42 - license = licenses.mit; 43 - maintainers = with maintainers; [ antono ]; 44 - platforms = platforms.linux; 45 - }; 46 - }
-19
pkgs/development/interpreters/pyrex/0.9.5.nix
··· 1 - { lib, fetchurl, python2Packages }: 2 - 3 - python2Packages.buildPythonPackage rec { 4 - pname = "pyrex"; 5 - version = "0.9.5.1.1"; 6 - 7 - src = fetchurl { 8 - url = "https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-${version}.tar.gz"; 9 - sha256 = "0lxxvn4mjfb83swcbqb5908q4iy53w4ip5i0f9angm2va1jyhd3z"; 10 - }; 11 - 12 - doCheck = false; 13 - 14 - meta = { 15 - homepage = "http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/"; 16 - description = "A language for writing Python extension modules"; 17 - license = lib.licenses.asl20; 18 - }; 19 - }
-19
pkgs/development/interpreters/pyrex/0.9.6.nix
··· 1 - { lib, fetchurl, python2Packages }: 2 - 3 - python2Packages.buildPythonPackage rec { 4 - pname = "pyrex"; 5 - version = "0.9.6.4"; 6 - 7 - src = fetchurl { 8 - url = "https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-${version}.tar.gz"; 9 - sha256 = "18pd9f8al3l6i27cc0ddhgg7hxf28lnfs75x4a8jzscydxgiq5a8"; 10 - }; 11 - 12 - doCheck = false; 13 - 14 - meta = { 15 - homepage = "http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/"; 16 - description = "A language for writing Python extension modules"; 17 - license = lib.licenses.asl20; 18 - }; 19 - }
-62
pkgs/development/interpreters/renpy/default.nix
··· 1 - { lib, stdenv, fetchurl, python2Packages, pkg-config, SDL2 2 - , libpng, ffmpeg, freetype, glew, libGL, libGLU, fribidi, zlib 3 - , glib 4 - }: 5 - 6 - with python2Packages; 7 - 8 - stdenv.mkDerivation rec { 9 - pname = "renpy"; 10 - version = "7.3.5"; 11 - 12 - meta = with lib; { 13 - description = "Ren'Py Visual Novel Engine"; 14 - homepage = "https://renpy.org/"; 15 - license = licenses.mit; 16 - platforms = platforms.linux; 17 - }; 18 - 19 - src = fetchurl { 20 - url = "https://www.renpy.org/dl/${version}/renpy-${version}-source.tar.bz2"; 21 - sha256 = "1anr5cfbvbsbik4v4rvrkdkciwhg700k4lydfbs4n85raimz9mw4"; 22 - }; 23 - 24 - patches = [ 25 - ./launcherenv.patch 26 - ]; 27 - 28 - postPatch = '' 29 - substituteInPlace launcher/game/choose_directory.rpy --replace /usr/bin/python ${python.interpreter} 30 - ''; 31 - 32 - nativeBuildInputs = [ pkg-config ]; 33 - buildInputs = [ 34 - python cython wrapPython tkinter 35 - SDL2 libpng ffmpeg freetype glew libGLU libGL fribidi zlib pygame_sdl2 glib 36 - ]; 37 - 38 - pythonPath = [ pygame_sdl2 tkinter ]; 39 - 40 - RENPY_DEPS_INSTALL = lib.concatStringsSep "::" (map (path: path) [ 41 - SDL2 SDL2.dev libpng ffmpeg ffmpeg.out freetype glew.dev glew.out libGLU libGL fribidi zlib 42 - ]); 43 - 44 - buildPhase = '' 45 - python module/setup.py build 46 - ''; 47 - 48 - installPhase = '' 49 - mkdir -p $out/share/renpy 50 - cp -vr * $out/share/renpy 51 - rm -rf $out/share/renpy/module 52 - 53 - python module/setup.py install --prefix=$out --install-lib=$out/share/renpy/module 54 - 55 - makeWrapper ${python}/bin/python $out/bin/renpy \ 56 - --set PYTHONPATH $PYTHONPATH \ 57 - --set RENPY_BASE $out/share/renpy \ 58 - --add-flags "-O $out/share/renpy/renpy.py" 59 - ''; 60 - 61 - NIX_CFLAGS_COMPILE = "-I${pygame_sdl2}/include/${python.libPrefix}"; 62 - }
-14
pkgs/development/interpreters/renpy/launcherenv.patch
··· 1 - # The launcher game starts projects in a separate python process 2 - # with the -E flag, which prevents the nix set PYTHONPATH envvar 3 - # from taking effect, preventing the loading of pygame_sdl2 4 - --- a/launcher/game/project.rpy 5 - +++ b/launcher/game/project.rpy 6 - @@ -239,7 +239,7 @@ 7 - raise Exception("Python interpreter not found: %r", executables) 8 - 9 - # Put together the basic command line. 10 - - cmd = [ executable, "-EO", sys.argv[0] ] 11 - + cmd = [ executable, "-O", sys.argv[0] ] 12 - 13 - cmd.append(self.path) 14 - cmd.extend(args)
+2 -2
pkgs/development/libraries/gdal/2.4.nix
··· 1 1 { lib, stdenv, fetchurl, libjpeg, libtiff, zlib 2 - , postgresql, libmysqlclient, libgeotiff, python2Packages, proj, geos, openssl 2 + , postgresql, libmysqlclient, libgeotiff, python3Packages, proj, geos, openssl 3 3 , libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib, expat 4 4 , libiconv, libxml2 5 5 , netcdfSupport ? true, netcdf, hdf5, curl ··· 18 18 19 19 buildInputs = [ libjpeg libtiff libgeotiff libpng proj openssl sqlite 20 20 libspatialite poppler hdf4 qhull giflib expat libxml2 proj ] 21 - ++ (with python2Packages; [ python numpy wrapPython ]) 21 + ++ (with python3Packages; [ python numpy wrapPython ]) 22 22 ++ lib.optional stdenv.isDarwin libiconv 23 23 ++ lib.optionals netcdfSupport [ netcdf hdf5 curl ]; 24 24
+4 -3
pkgs/development/libraries/opae/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, cmake 2 2 , libuuid, json_c 3 - , doxygen, perl, python2, python2Packages 3 + , doxygen, perl, python3 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { ··· 23 23 NIX_CFLAGS_COMPILE = [ 24 24 "-Wno-error=format-truncation" 25 25 "-Wno-error=address-of-packed-member" 26 + "-Wno-array-bounds" 26 27 ]; 27 28 28 - nativeBuildInputs = [ cmake doxygen perl python2Packages.sphinx ]; 29 - buildInputs = [ libuuid json_c python2 ]; 29 + nativeBuildInputs = [ cmake doxygen perl python3.pkgs.sphinx ]; 30 + buildInputs = [ libuuid json_c python3 ]; 30 31 31 32 # Set the Epoch to 1980; otherwise the Python wheel/zip code 32 33 # gets very angry
+2 -2
pkgs/development/libraries/quickder/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, python2Packages, hexio 1 + { lib, stdenv, fetchFromGitHub, python3Packages, hexio 2 2 , cmake, bash, arpa2cm, git, asn2quickder }: 3 3 4 4 stdenv.mkDerivation rec { ··· 14 14 15 15 nativeBuildInputs = [ cmake ]; 16 16 17 - buildInputs = with python2Packages; [ 17 + buildInputs = with python3Packages; [ 18 18 arpa2cm 19 19 asn1ate 20 20 hexio
+2 -4
pkgs/development/libraries/vigra/default.nix
··· 12 12 , libpng 13 13 , libtiff 14 14 , openexr 15 - , python2Packages 15 + , python3 16 16 }: 17 17 18 18 let 19 - inherit (python2Packages) python numpy; 20 - # Might want to use `python2.withPackages(ps: [ps.numpy]);` here... 19 + python = python3.withPackages (py: with py; [ numpy ]); 21 20 in 22 21 stdenv.mkDerivation rec { 23 22 pname = "vigra"; ··· 50 49 libjpeg 51 50 libpng 52 51 libtiff 53 - numpy 54 52 openexr 55 53 python 56 54 ];
-18
pkgs/development/python-modules/cjson/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy3k, isPyPy }: 2 - 3 - buildPythonPackage rec { 4 - pname = "python-cjson"; 5 - version = "1.2.2"; 6 - disabled = isPy3k || isPyPy; 7 - 8 - src = fetchPypi { 9 - inherit pname version; 10 - sha256 = "3006c2c218297be3448dc793218e0b15d20fe9839775521bfc294fc6aa24972b"; 11 - }; 12 - 13 - meta = with lib; { 14 - description = "A very fast JSON encoder/decoder for Python"; 15 - homepage = "https://ag-projects.com/"; 16 - license = licenses.lgpl2; 17 - }; 18 - }
+4 -4
pkgs/development/tools/profiling/systemtap/default.nix
··· 1 1 { lib, fetchgit, pkg-config, gettext, runCommand, makeWrapper 2 - , elfutils, kernel, gnumake, python2, python2Packages 2 + , cpio, elfutils, kernel, gnumake, python3 3 3 }: 4 4 5 5 let ··· 16 16 pname = "systemtap"; 17 17 inherit version; 18 18 src = fetchgit { inherit url rev sha256; }; 19 - nativeBuildInputs = [ pkg-config ]; 20 - buildInputs = [ elfutils gettext python2 python2Packages.setuptools ]; 19 + nativeBuildInputs = [ pkg-config cpio ]; 20 + buildInputs = [ elfutils gettext python3 python3.pkgs.setuptools ]; 21 21 enableParallelBuilding = true; 22 22 }; 23 23 ··· 33 33 done 34 34 ''; 35 35 36 - pypkgs = with python2Packages; makePythonPath [ pyparsing ]; 36 + pypkgs = with python3.pkgs; makePythonPath [ pyparsing ]; 37 37 38 38 in runCommand "systemtap-${kernel.version}-${version}" { 39 39 inherit stapBuild kernelBuildDir;
-38
pkgs/tools/audio/mididings/default.nix
··· 1 - { lib, python2Packages, fetchFromGitHub, pkg-config, glib, alsa-lib, libjack2 }: 2 - 3 - python2Packages.buildPythonApplication { 4 - version = "2015-11-17"; 5 - pname = "mididings"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "dsacre"; 9 - repo = "mididings"; 10 - rev = "bbec99a8c878a2a7029e78e84fc736e4a68ed5a0"; 11 - sha256 = "1pdf5mib87zy7yjh9vpasja419h28wvgq6x5hw2hkm7bg9ds4p2m"; 12 - }; 13 - 14 - nativeBuildInputs = [ pkg-config ]; 15 - buildInputs = [ glib alsa-lib libjack2 python2Packages.boost ]; 16 - propagatedBuildInputs = with python2Packages; [ decorator ] 17 - # for livedings 18 - ++ [ tkinter pyliblo ] 19 - # for mididings.extra 20 - ++ [ dbus-python pyinotify ] 21 - # to read/write standard MIDI files 22 - ++ [ pysmf ] 23 - # so mididings knows where to look for config files 24 - ++ [ pyxdg ]; 25 - 26 - preBuild = with lib.versions; '' 27 - substituteInPlace setup.py \ 28 - --replace boost_python "boost_python${major python2Packages.python.version}${minor python2Packages.python.version}" 29 - ''; 30 - 31 - meta = with lib; { 32 - description = "A MIDI router and processor based on Python, supporting ALSA and JACK MIDI"; 33 - homepage = "http://das.nasophon.de/mididings"; 34 - license = licenses.gpl2; 35 - maintainers = [ ]; 36 - platforms = platforms.linux; 37 - }; 38 - }
-29
pkgs/tools/networking/getmail/default.nix
··· 1 - { lib, fetchurl, python2Packages }: 2 - 3 - python2Packages.buildPythonApplication rec { 4 - pname = "getmail"; 5 - version = "5.14"; 6 - 7 - src = fetchurl { 8 - url = "http://pyropus.ca/software/getmail/old-versions/${pname}-${version}.tar.gz"; 9 - sha256 = "1hcrd9h4g12f5gvl1djsbchcjry02ghq4icdr897s8v48pkrzagk"; 10 - }; 11 - 12 - doCheck = false; 13 - 14 - postPatch = '' 15 - # getmail spends a lot of effort to build an absolute path for 16 - # documentation installation; too bad it is counterproductive now 17 - sed -e '/datadir or prefix,/d' -i setup.py 18 - ''; 19 - 20 - meta = { 21 - description = "A program for retrieving mail"; 22 - maintainers = [ lib.maintainers.raskin ]; 23 - platforms = lib.platforms.linux; 24 - 25 - homepage = "http://pyropus.ca/software/getmail/"; 26 - updateWalker = true; 27 - license = lib.licenses.gpl2Plus; 28 - }; 29 - }
+16
pkgs/top-level/aliases.nix
··· 100 100 bitwarden_rs-postgresql = vaultwarden-postgresql; 101 101 bitwarden_rs-vault = vaultwarden-vault; 102 102 103 + blink = throw "blink has been removed from nixpkgs, it was unmaintained and required python2 at the time of removal."; # added 2022-01-12 103 104 bs1770gain = throw "bs1770gain has been removed from nixpkgs, as it had no maintainer or reverse dependencies."; # added 2021-01-02 104 105 bsod = throw "bsod has been removed: deleted by upstream"; # added 2022-01-07 105 106 btc1 = throw "btc1 has been removed, it was abandoned by upstream"; # added 2020-11-03 ··· 118 119 casperjs = throw "casperjs has been removed, it was abandoned by upstream and broken."; 119 120 catfish = xfce.catfish; # added 2019-12-22 120 121 ccnet = throw "ccnet has been removed because seafile does not depend on it anymore"; # added 2021-03-25 122 + 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 121 123 cgmanager = throw "cgmanager was deprecated by lxc and therefore removed from nixpkgs."; # added 2020-06-05 122 124 checkbashism = checkbashisms; # added 2016-08-16 123 125 chronos = throw "chronos has been removed from nixpkgs, as it was unmaintained"; # added 2020-08-15 ··· 180 182 cups_filters = cups-filters; # added 2016-08 181 183 cups-googlecloudprint = throw "Google Cloudprint is officially discontinued since Jan 2021, more info https://support.google.com/chrome/a/answer/9633006"; 182 184 cloud-print-connector = throw "Google Cloudprint is officially discontinued since Jan 2021, more info https://support.google.com/chrome/a/answer/9633006"; 185 + curaByDagoma = throw "curaByDagoma has been removed from nixpkgs, because it was unmaintained and dependent on python2 packages."; # added 2022-01-12 183 186 curaLulzbot = throw "curaLulzbot has been removed due to insufficient upstream support for a modern dependency chain"; # added 2021-10-23 184 187 cquery = throw "cquery has been removed because it is abandoned by upstream. Consider switching to clangd or ccls instead."; # added 2020-06-15 185 188 cv = progress; # added 2015-09-06 ··· 214 217 desktop_file_utils = desktop-file-utils; # added 2018-02-25 215 218 devicemapper = lvm2; # added 2018-04-25 216 219 digikam5 = digikam; # added 2017-02-18 220 + displaycal = throw "displaycal has been removed from nixpkgs, as it hasn't migrated to python3."; # added 2022-01-12 217 221 dmtx = dmtx-utils; # added 2018-04-25 218 222 dnnl = oneDNN; # added 2020-04-22 219 223 docbook5_xsl = docbook_xsl_ns; # added 2018-04-25 ··· 306 310 gdb-multitarget = gdb; # added 2017-11-13 307 311 gdk_pixbuf = gdk-pixbuf; # added 2019-05-22 308 312 gettextWithExpat = gettext; # 2016-02-19 313 + getmail = throw "getmail has been removed from nixpkgs, migrate to getmail6."; # added 2022-01-12 309 314 giflib_4_1 = throw "giflib_4_1 has been removed; use giflib instead"; # 2020-02-12 310 315 git-bz = throw "giz-bz has been removed from nixpkgs as it is stuck on python2."; # added 2022-01-01 311 316 gitAndTools = self // { # added 2021-01-14 ··· 318 323 topGit = top-git; 319 324 }; 320 325 gitin = throw "gitin has been remove because it was unmaintained and depended on an insecure version of libgit2"; # added 2021-12-07 326 + gitinspector = throw "gitinspector has been removed because it doesn't work with python3."; # added 2022-01-12 321 327 glib_networking = glib-networking; # added 2018-02-25 322 328 gmailieer = lieer; # added 2020-04-19 323 329 gmvault = throw "gmvault has been removed because it is unmaintained, mostly broken, and insecure"; # added 2021-03-08 ··· 419 425 kodiGBM = kodi-gbm; 420 426 kodiPlain = kodi; 421 427 kodiPlainWayland = kodi-wayland; 428 + ino = throw "ino has been removed from nixpkgs, the project is stuck on python2 and upstream has archived the project."; # added 2022-01-12 422 429 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 423 430 julia_07 = throw "julia_07 has been deprecated in favor of the latest LTS version"; # added 2020-09-15 424 431 julia_1 = throw "julia_1 has been deprecated in favor of julia_10 as it was ambiguous"; # added 2021-03-13 ··· 565 572 lua5_1_sockets = lua51Packages.luasocket; # added 2017-05-02 566 573 lua5_expat = luaPackages.luaexpat; # added 2017-05-02 567 574 lua5_sec = luaPackages.luasec; # added 2017-05-02 575 + lumpy = throw "lumpy has been removed from nixpkgs, as it is stuck on python2."; # added 2022-01-12 568 576 lxappearance-gtk3 = throw "lxappearance-gtk3 has been removed. Use lxappearance instead, which now defaults to Gtk3"; # added 2020-06-03 569 577 lzma = xz; # moved from top-level 2021-03-14 570 578 m3d-linux = m33-linux; # added 2016-08-13 571 579 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 580 + mailpile = throw "mailpile was removed from nixpkgs, as it is stuck on python2."; # added 2022-01-12 572 581 man_db = man-db; # added 2016-05 573 582 manpages = man-pages; # added 2015-12-06 574 583 marathon = throw "marathon has been removed from nixpkgs, as it's unmaintained"; # added 2020-08-15 ··· 580 589 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 581 590 meme = meme-image-generator; # added 2021-04-21 582 591 mess = mame; # added 2019-10-30 592 + metamorphose2 = throw "metamorphose2 has been removed from nixpkgs, as it was stuck on python2."; # added 2022-01-12 583 593 mcgrid = throw "mcgrid has been removed from nixpkgs, as it's not compatible with rivet 3"; # added 2020-05-23 584 594 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 595 + 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 585 596 mimms = throw "mimms has been removed from nixpkgs as the upstream project is stuck on python2."; # added 2022-01-01 586 597 mirage = throw "mirage has been removed from nixpkgs, as it's unmaintained"; # added 2019-12-10 587 598 minergate = throw "minergate has been removed from nixpkgs, because the package is unmaintained and the site has a bad reputation"; # added 2021-08-13 ··· 624 635 nagiosPluginsOfficial = monitoring-plugins; 625 636 navit = throw "navit has been removed from nixpkgs, due to being unmaintained"; # added 2021-06-07 626 637 ncat = nmap; # added 2016-01-26 638 + neap = throw "neap was removed from nixpkgs, as it relies on python2"; # added 2022-01-12 627 639 netcat-openbsd = libressl.nc; # added 2018-04-25 628 640 netease-cloud-music = throw "netease-cloud-music has been removed together with deepin"; # added 2020-08-31 629 641 networkmanager_fortisslvpn = networkmanager-fortisslvpn; # added 2018-02-25 ··· 800 812 pybind11 = throw "pybind11 was removed because pythonPackages.pybind11 for the appropriate version of Python should be used"; # added 2021-05-14 801 813 pybitmessage = throw "pybitmessage was removed from nixpkgs as it is stuck on python2."; # added 2022-01-01 802 814 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 815 + pyrex = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-12 816 + pyrex095 = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-12 817 + pyrex096 = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-12 803 818 pyrit = throw "pyrit has been removed from nixpkgs as the project is still stuck on python2."; # added 2022-01-01 804 819 python2nix = throw "python2nix has been removed as it is outdated. Use e.g. nixpkgs-pytools instead."; # added 2021-03-08 805 820 python-swiftclient = swiftclient; # added 2021-09-09 ··· 843 858 radare2-cutter = cutter; # added 2021-03-30 844 859 redkite = throw "redkite was archived by upstream"; # added 2021-04-12 845 860 redshift-wlr = throw "redshift-wlr has been replaced by gammastep"; # added 2021-12-25 861 + renpy = throw "renpy has been removed from nixpkgs, it was unmaintained and the latest packaged version required python2."; # added 2022-01-12 846 862 retroArchCores = throw "retroArchCores has been removed. Please use overrides instead, e.g.: `retroarch.override { cores = with libretro; [ ... ]; }`"; # added 2021-11-19 847 863 rkt = throw "rkt was archived by upstream"; # added 2020-05-16 848 864 rpiboot-unstable = rpiboot; # added 2021-07-30
-32
pkgs/top-level/all-packages.nix
··· 2197 2197 2198 2198 bitbucket-server-cli = callPackage ../applications/version-management/git-and-tools/bitbucket-server-cli { }; 2199 2199 2200 - blink = libsForQt5.callPackage ../applications/networking/instant-messengers/blink { }; 2201 - 2202 2200 blitz = callPackage ../development/libraries/blitz { }; 2203 2201 2204 2202 blockbook = callPackage ../servers/blockbook { }; ··· 3399 3397 metabase = callPackage ../servers/metabase { }; 3400 3398 3401 3399 midicsv = callPackage ../tools/audio/midicsv { }; 3402 - 3403 - mididings = callPackage ../tools/audio/mididings { }; 3404 3400 3405 3401 miniscript = callPackage ../applications/blockchains/miniscript { }; 3406 3402 ··· 5582 5578 gerrit = callPackage ../applications/version-management/gerrit { }; 5583 5579 5584 5580 geteltorito = callPackage ../tools/misc/geteltorito { }; 5585 - 5586 - getmail = callPackage ../tools/networking/getmail { }; 5587 5581 5588 5582 getmail6 = callPackage ../tools/networking/getmail6 { }; 5589 5583 ··· 5817 5811 5818 5812 github-runner = callPackage ../development/tools/continuous-integration/github-runner { }; 5819 5813 5820 - gitinspector = callPackage ../applications/version-management/gitinspector { }; 5821 - 5822 5814 gitkraken = callPackage ../applications/version-management/gitkraken { }; 5823 5815 5824 5816 gitlab = callPackage ../applications/version-management/gitlab { }; ··· 7596 7588 7597 7589 mailsend = callPackage ../tools/networking/mailsend { }; 7598 7590 7599 - mailpile = callPackage ../applications/networking/mailreaders/mailpile { }; 7600 - 7601 7591 mailutils = callPackage ../tools/networking/mailutils { 7602 7592 sasl = gsasl; 7603 7593 }; ··· 7700 7690 memo = callPackage ../applications/misc/memo { }; 7701 7691 7702 7692 mencal = callPackage ../applications/misc/mencal { } ; 7703 - 7704 - metamorphose2 = callPackage ../applications/misc/metamorphose2 { }; 7705 7693 7706 7694 metar = callPackage ../applications/misc/metar { }; 7707 7695 ··· 13775 13763 13776 13764 pyradio = callPackage ../applications/audio/pyradio {}; 13777 13765 13778 - pyrex = pyrex095; 13779 - 13780 - pyrex095 = callPackage ../development/interpreters/pyrex/0.9.5.nix { }; 13781 - 13782 - pyrex096 = callPackage ../development/interpreters/pyrex/0.9.6.nix { }; 13783 - 13784 13766 racket = callPackage ../development/interpreters/racket { 13785 13767 # racket 6.11 doesn't build with gcc6 + recent glibc: 13786 13768 # https://github.com/racket/racket/pull/1886 ··· 13812 13794 regina = callPackage ../development/interpreters/regina { }; 13813 13795 13814 13796 inherit (ocamlPackages) reason; 13815 - 13816 - renpy = callPackage ../development/interpreters/renpy { }; 13817 13797 13818 13798 pixie = callPackage ../development/interpreters/pixie { }; 13819 13799 dust = callPackage ../development/interpreters/pixie/dust.nix { }; ··· 14910 14890 }; 14911 14891 14912 14892 indent = callPackage ../development/tools/misc/indent { }; 14913 - 14914 - ino = callPackage ../development/embedded/arduino/ino { }; 14915 14893 14916 14894 inotify-tools = callPackage ../development/tools/misc/inotify-tools { }; 14917 14895 ··· 23282 23260 carlito = callPackage ../data/fonts/carlito {}; 23283 23261 23284 23262 cascadia-code = callPackage ../data/fonts/cascadia-code { }; 23285 - 23286 - cde-gtk-theme = callPackage ../data/themes/cdetheme { }; 23287 23263 23288 23264 charis-sil = callPackage ../data/fonts/charis-sil { }; 23289 23265 ··· 27393 27369 27394 27370 n8n = callPackage ../applications/networking/n8n {}; 27395 27371 27396 - neap = callPackage ../applications/misc/neap { }; 27397 - 27398 27372 neomutt = callPackage ../applications/networking/mailreaders/neomutt { }; 27399 27373 27400 27374 natron = callPackage ../applications/video/natron { }; ··· 28613 28587 cura = libsForQt5.callPackage ../applications/misc/cura { }; 28614 28588 28615 28589 curaPlugins = callPackage ../applications/misc/cura/plugins.nix { }; 28616 - 28617 - curaByDagoma = callPackage ../applications/misc/curabydagoma { }; 28618 28590 28619 28591 peru = callPackage ../applications/version-management/peru {}; 28620 28592 ··· 30259 30231 30260 30232 digikam = libsForQt5.callPackage ../applications/graphics/digikam {}; 30261 30233 30262 - displaycal = callPackage ../applications/graphics/displaycal {}; 30263 - 30264 30234 drumkv1 = libsForQt5.callPackage ../applications/audio/drumkv1 { }; 30265 30235 30266 30236 ### GAMES ··· 31690 31660 kssd = callPackage ../applications/science/biology/kssd { }; 31691 31661 31692 31662 last = callPackage ../applications/science/biology/last { }; 31693 - 31694 - lumpy = callPackage ../applications/science/biology/lumpy { }; 31695 31663 31696 31664 macse = callPackage ../applications/science/biology/macse { }; 31697 31665
+2 -8
pkgs/top-level/python-packages.nix
··· 1609 1609 1610 1610 cjkwrap = callPackage ../development/python-modules/cjkwrap { }; 1611 1611 1612 - cjson = callPackage ../development/python-modules/cjson { }; 1613 - 1614 1612 ckcc-protocol = callPackage ../development/python-modules/ckcc-protocol { }; 1615 1613 1616 1614 claripy = callPackage ../development/python-modules/claripy { }; ··· 2825 2823 2826 2824 fints = callPackage ../development/python-modules/fints { }; 2827 2825 2828 - fiona = callPackage ../development/python-modules/fiona { 2829 - gdal = pkgs.gdal_2; 2830 - }; 2826 + fiona = callPackage ../development/python-modules/fiona { }; 2831 2827 2832 2828 fipy = callPackage ../development/python-modules/fipy { }; 2833 2829 ··· 8393 8389 inherit (pkgs) libarchive; 8394 8390 }; 8395 8391 8396 - rasterio = callPackage ../development/python-modules/rasterio { 8397 - gdal = pkgs.gdal_2; 8398 - }; 8392 + rasterio = callPackage ../development/python-modules/rasterio { }; 8399 8393 8400 8394 ratelim = callPackage ../development/python-modules/ratelim { }; 8401 8395