6 # Removing recurseForDerivation prevents derivations of aliased attribute
7 # set to appear while listing all the packages available.
8 removeRecurseForDerivations = alias: with lib;
9 if alias.recurseForDerivations or false then
10 removeAttrs alias ["recurseForDerivations"]
13 # Disabling distribution prevents top-level aliases for non-recursed package
14 # sets from building on Hydra.
15 removeDistribute = alias: with lib;
16 if isDerivation alias then
20 # Make sure that we are not shadowing something from
21 # python-packages.nix.
22 checkInPkgs = n: alias: if builtins.hasAttr n super
23 then throw "Alias ${n} is still in python-packages.nix"
27 lib.mapAttrs (n: alias: removeDistribute
28 (removeRecurseForDerivations
29 (checkInPkgs n alias)))
33 ### Deprecated aliases - for backward compatibility
36 aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30
37 ansible-base = throw "ansible-base has been removed, because it is end of life"; # added 2022-03-30
38 anyjson = throw "anyjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
39 argon2_cffi = argon2-cffi; # added 2022-05-09
40 asyncio-nats-client = nats-py; # added 2022-02-08
41 Babel = babel; # added 2022-05-06
42 bitcoin-price-api = throw "bitcoin-price-api has been removed, it was using setuptools 2to3 translation feautre, which has been removed in setuptools 58"; # added 2022-02-15
43 blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # added 2020-11-29
44 bsblan = python-bsblan; # added 2022-11-04
45 bt_proximity = bt-proximity; # added 2021-07-02
46 carrot = throw "carrot has been removed, as its development was discontinued in 2012"; # added 2022-01-18
47 class-registry = phx-class-registry; # added 2021-10-05
48 codespell = throw "codespell has been promoted to a top-level attribute"; # Added 2022-10-02
49 ConfigArgParse = configargparse; # added 2021-03-18
50 cozy = throw "cozy was removed because it was not actually https://pypi.org/project/Cozy/."; # added 2022-01-14
51 cryptography_vectors = "cryptography_vectors is no longer exposed in python*Packages because it is used for testing cryptography only."; # Added 2022-03-23
52 dask-xgboost = throw "dask-xgboost was removed because its features are available in xgboost"; # added 2022-05-24
53 dateutil = python-dateutil; # added 2021-07-03
54 demjson = throw "demjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
55 detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04
56 dftfit = throw "dftfit dependency lammps-cython no longer builds"; # added 2021-07-04
57 diff_cover = diff-cover; # added 2021-07-02
58 discogs_client = discogs-client; # added 2021-07-02
59 djangorestframework-jwt = drf-jwt; # added 2021-07-20
60 django-sampledatahelper = throw "django-sampledatahelper was removed because it is no longer compatible to latest Django version"; # added 2022-07-18
61 django_2 = throw "Django 2 has reached it's projected EOL in 2022/04 and has therefore been removed."; # added 2022-03-05
62 django_appconf = django-appconf; # added 2022-03-03
63 django_environ = django-environ; # added 2021-12-25
64 django_extensions = django-extensions; # added 2022-01-09
65 django_guardian = django-guardian; # added 2022-05-19
66 django_modelcluster = django-modelcluster; # added 2022-04-02
67 django_reversion = django-reversion; # added 2022-06-18
68 django_polymorphic = django-polymorphic; # added 2022-05-24
69 django_redis = django-redis; # added 2021-10-11
70 django_taggit = django-taggit; # added 2021-10-11
71 dns = dnspython; # added 2017-12-10
72 dogpile_cache = dogpile-cache; # added 2021-10-28
73 dogpile-core = throw "dogpile-core is no longer maintained, use dogpile-cache instead"; # added 2021-11-20
74 eebrightbox = throw "eebrightbox is unmaintained upstream and has therefore been removed"; # added 2022-02-03
75 email_validator = email-validator; # added 2022-06-22
76 face_recognition = face-recognition; # added 2022-10-15
77 face_recognition_models = face-recognition-models; # added 2022-10-15
78 fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30
79 faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
80 flask_login = flask-login; # added 2022-10-17
81 flask_sqlalchemy = flask-sqlalchemy; # added 2022-07-20
82 flask_testing = flask-testing; # added 2022-04-25
83 flask_wtf = flask-wtf; # added 2022-05-24
84 garminconnect-ha = garminconnect; # added 2022-02-05
85 gigalixir = throw "gigalixir has been promoted to a top-level attribute"; # Added 2022-10-02
86 gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14
87 glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28
88 google_api_python_client = google-api-python-client; # added 2021-03-19
89 googleapis_common_protos = googleapis-common-protos; # added 2021-03-19
90 graphite_api = throw "graphite_api was removed, because it is no longer maintained"; # added 2022-07-10
91 graphite_beacon = throw "graphite_beacon was removed, because it is no longer maintained"; # added 2022-07-09
92 grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
93 ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06
94 HAP-python = hap-python; # added 2021-06-01
95 hbmqtt = throw "hbmqtt was removed because it is no longer maintained"; # added 2021-11-07
96 hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
97 hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29
98 IMAPClient = imapclient; # added 2021-10-28
99 imdbpy = throw "imdbpy has been renamed to cinemagoer"; # added 2022-08-08
100 ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30
101 influxgraph = throw "influxgraph has been removed because it is no longer maintained"; # added 2022-07-10
102 itanium_demangler = itanium-demangler; # added 2022-1017
103 jupyter_client = jupyter-client; # added 2021-10-15
104 Keras = keras; # added 2021-11-25
105 ldap = python-ldap; # added 2022-09-16
106 lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
107 loo-py = loopy; # added 2022-05-03
108 Markups = markups; # added 2022-02-14
109 MechanicalSoup = mechanicalsoup; # added 2021-06-01
110 memcached = python-memcached; # added 2022-05-06
111 mailman = throw "Please use pkgs.mailman"; # added 2022-04-29
112 mailman-hyperkitty = throw "Please use pkgs.mailmanPackages.mailman-hyperkitty"; # added 2022-04-29
113 mailman-web = throw "Please use pkgs.mailman-web"; # added 2022-04-29
114 mistune_0_8 = throw "mistune_0_8 was removed because it was outdated and insecure"; # added 2022-08-12
115 mistune_2_0 = mistune; # added 2022-08-12
116 mutmut = throw "mutmut has been promoted to a top-level attribute"; # added 2022-10-02
117 net2grid = gridnet; # add 2022-04-22
118 nose-cover3 = throw "nose-cover3 has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-02-16
119 notifymuch = throw "notifymuch has been promoted to a top-level attribute"; # added 2022-10-02
120 ordereddict = throw "ordereddict has been removed because it is only useful on unsupported python versions."; # added 2022-05-28
121 pam = python-pam; # added 2020-09-07.
122 PasteDeploy = pastedeploy; # added 2021-10-07
123 pathpy = path; # added 2022-04-12
124 pdfminer = pdfminer-six; # added 2022-05-25
125 pep257 = pydocstyle; # added 2022-04-12
126 poetry2conda = throw "poetry2conda was promoted to a top-level attribute"; # Added 2022-10-02
127 poster3 = throw "poster3 is unmaintained and source is no longer available"; # added 2023-05-29
128 postorius = throw "Please use pkgs.mailmanPackages.postorius"; # added 2022-04-29
129 powerlineMemSegment = powerline-mem-segment; # added 2021-10-08
130 privacyidea = throw "privacyidea has been renamed to pkgs.privacyidea"; # added 2021-06-20
131 prometheus_client = prometheus-client; # added 2021-06-10
132 prompt_toolkit = prompt-toolkit; # added 2021-07-22
133 protonup = protonup-ng; # Added 2022-11-06
134 pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08
135 pushbullet = pushbullet-py; # Added 2022-10-15
136 pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
137 pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
138 pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
139 pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28
140 pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07
141 pyialarmxr-homeassistant = throw "The package was removed together with the component support in home-assistant 2022.7.0"; # added 2022-07-07
142 pyjson5 = json5; # added 2022-08-28
143 pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
144 PyLD = pyld; # added 2022-06-22
145 pymc3 = pymc; # added 2022-06-05, module was rename starting with 4.0.0
146 pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
147 pyreadability = readability-lxml; # added 2022-05-24
148 pyroute2-core = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
149 pyroute2-ethtool = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
150 pyroute2-ipdb = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
151 pyroute2-ipset = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
152 pyroute2-ndb = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
153 pyroute2-nftables = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
154 pyroute2-nslink = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
155 pyroute2-protocols = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
156 pysmart-smartx = pysmart; # added 2021-10-22
157 pyspotify = throw "pyspotify has been removed because Spotify stopped supporting libspotify"; # added 2022-05-29
158 pytest_6 = pytest; # added 2022-02-10
159 pytestcov = pytest-cov; # added 2021-01-04
160 pytest-pep8 = pytestpep8; # added 2021-01-04
161 pytest-pep257 = throw "pytest-pep257 was removed, as the pep257 package was migrated into pycodestyle"; # added 2022-04-12
162 pytest-pythonpath = throw "pytest-pythonpath is obsolete as of pytest 7.0.0 and has been removed"; # added 2022-03-09
163 pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10
164 pytestquickcheck = pytest-quickcheck; # added 2021-07-20
165 pytestrunner = pytest-runner; # added 2021-01-04
166 python-igraph = igraph; # added 2021-11-11
167 python-lz4 = lz4; # added 2018-06-01
168 python_magic = python-magic; # added 2022-05-07
169 python_mimeparse = python-mimeparse; # added 2021-10-31
170 python-language-server = throw "python-language-server is no longer maintained, use the python-lsp-server community fork instead."; # Added 2022-08-03
171 python-subunit = subunit; # added 2021-09-10
172 pytest_xdist = pytest-xdist; # added 2021-01-04
173 python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
174 pytorch = torch; # added 2022-09-30
175 pytorch-bin = torch-bin; # added 2022-09-30
176 pytorchWithCuda = torchWithCuda; # added 2022-09-30
177 pytorchWithoutCuda = torchWithoutCuda; # added 2022-09-30
178 pytwitchapi = twitchapi; # added 2022-03-07
179 qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
180 qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
181 rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05
182 repeated_test = throw "repeated_test is no longer maintained"; # added 2022-01-11
183 requests_oauthlib = requests-oauthlib; # added 2022-02-12
184 requests_toolbelt = requests-toolbelt; # added 2017-09-26
185 roboschool = throw "roboschool is deprecated in favor of PyBullet and has been removed"; # added 2022-01-15
186 ROPGadget = ropgadget; # added 2021-07-06
187 rotate-backups = throw "rotate-backups was removed in favor of the top-level rotate-backups"; # added 2021-07-01
188 ruamel_base = ruamel-base; # added 2021-11-01
189 ruamel_yaml = ruamel-yaml; # added 2021-11-01
190 ruamel_yaml_clib = ruamel-yaml-clib; # added 2021-11-01
191 sapi-python-client = kbcstorage; # added 2022-04-20
192 scikitlearn = scikit-learn; # added 2021-07-21
193 selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
194 setuptools_scm = setuptools-scm; # added 2021-06-03
195 sharkiqpy = sharkiq; # added 2022-05-21
196 smart_open = smart-open; # added 2021-03-14
197 smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
198 SPARQLWrapper = sparqlwrapper;
199 sphinx_rtd_theme = sphinx-rtd-theme; # added 2022-08-03
200 sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
201 sqlalchemy_migrate = sqlalchemy-migrate; # added 2021-10-28
202 SQLAlchemy-ImageAttach = throw "sqlalchemy-imageattach has been removed as it is incompatible with sqlalchemy 1.4 and unmaintained"; # added 2022-04-23
203 tensorflow-bin_2 = tensorflow-bin; # added 2021-11-25
204 tensorflow-build_2 = tensorflow-build; # added 2021-11-25
205 tensorflow-estimator_2 = tensorflow-estimator; # added 2021-11-25
206 tensorflow-tensorboard = tensorboard; # added 2022-03-06
207 tensorflow-tensorboard_2 = tensorflow-tensorboard; # added 2021-11-25
208 tvnamer = throw "tvnamer was moved to pkgs.tvnamer"; # added 2021-07-05
209 types-cryptography = throw "types-cryptography has been removed because it is obsolete since cryptography version 3.4.4."; # added 2022-05-30
210 types-paramiko = throw "types-paramiko has been removed because it was unused."; # added 2022-05-30
211 WazeRouteCalculator = wazeroutecalculator; # added 2021-09-29
212 webapp2 = throw "webapp2 is unmaintained since 2012"; # added 2022-05-29
213 websocket_client = websocket-client; # added 2021-06-15
214 xenomapper = throw "xenomapper was moved to pkgs.xenomapper"; # added 2021-12-31
215 zc-buildout221 = zc-buildout; # added 2021-07-21
216 zc_buildout_nix = throw "zc_buildout_nix was pinned to a version no longer compatible with other modules";