2021-03-15 00:00:14 +00:00
|
|
|
lib: self: super:
|
|
|
|
|
|
|
|
with self;
|
|
|
|
|
|
|
|
let
|
|
|
|
# Removing recurseForDerivation prevents derivations of aliased attribute
|
|
|
|
# set to appear while listing all the packages available.
|
|
|
|
removeRecurseForDerivations = alias: with lib;
|
|
|
|
if alias.recurseForDerivations or false then
|
|
|
|
removeAttrs alias ["recurseForDerivations"]
|
|
|
|
else alias;
|
|
|
|
|
|
|
|
# Disabling distribution prevents top-level aliases for non-recursed package
|
|
|
|
# sets from building on Hydra.
|
|
|
|
removeDistribute = alias: with lib;
|
|
|
|
if isDerivation alias then
|
|
|
|
dontDistribute alias
|
|
|
|
else alias;
|
|
|
|
|
|
|
|
# Make sure that we are not shadowing something from
|
|
|
|
# python-packages.nix.
|
|
|
|
checkInPkgs = n: alias: if builtins.hasAttr n super
|
|
|
|
then throw "Alias ${n} is still in python-packages.nix"
|
|
|
|
else alias;
|
|
|
|
|
|
|
|
mapAliases = aliases:
|
|
|
|
lib.mapAttrs (n: alias: removeDistribute
|
|
|
|
(removeRecurseForDerivations
|
|
|
|
(checkInPkgs n alias)))
|
|
|
|
aliases;
|
|
|
|
in
|
|
|
|
|
|
|
|
### Deprecated aliases - for backward compatibility
|
|
|
|
|
|
|
|
mapAliases ({
|
2022-03-29 23:12:31 +00:00
|
|
|
aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30
|
2022-03-30 17:55:20 +00:00
|
|
|
ansible-base = throw "ansible-base has been removed, because it is end of life"; # added 2022-03-30
|
2022-01-18 14:07:05 +00:00
|
|
|
anyjson = throw "anyjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
|
2022-05-09 00:07:25 +00:00
|
|
|
argon2_cffi = argon2-cffi; # added 2022-05-09
|
2022-02-08 10:02:31 +00:00
|
|
|
asyncio-nats-client = nats-py; # added 2022-02-08
|
2022-05-08 23:53:28 +00:00
|
|
|
Babel = babel; # added 2022-05-06
|
2022-02-15 21:55:09 +00:00
|
|
|
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
|
2021-10-28 09:03:31 +00:00
|
|
|
blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # added 2020-11-29
|
2021-07-20 21:24:25 +00:00
|
|
|
bt_proximity = bt-proximity; # added 2021-07-02
|
2022-01-18 14:08:06 +00:00
|
|
|
carrot = throw "carrot has been removed, as its development was discontinued in 2012"; # added 2022-01-18
|
2021-10-06 01:06:28 +00:00
|
|
|
class-registry = phx-class-registry; # added 2021-10-05
|
2021-07-20 21:26:16 +00:00
|
|
|
ConfigArgParse = configargparse; # added 2021-03-18
|
2022-01-16 20:42:04 +00:00
|
|
|
cozy = throw "cozy was removed because it was not actually https://pypi.org/project/Cozy/."; # added 2022-01-14
|
2022-03-23 05:14:53 +00:00
|
|
|
cryptography_vectors = "cryptography_vectors is no longer exposed in python*Packages because it is used for testing cryptography only."; # Added 2022-03-23
|
2022-05-24 06:41:15 +00:00
|
|
|
dask-xgboost = throw "dask-xgboost was removed because its features are available in xgboost"; # added 2022-05-24
|
2021-07-03 11:24:04 +00:00
|
|
|
dateutil = python-dateutil; # added 2021-07-03
|
2022-01-18 15:46:35 +00:00
|
|
|
demjson = throw "demjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
|
2021-06-12 17:08:21 +00:00
|
|
|
detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04
|
2021-10-31 13:24:52 +00:00
|
|
|
dftfit = throw "dftfit dependency lammps-cython no longer builds"; # added 2021-07-04
|
2021-07-02 19:58:04 +00:00
|
|
|
diff_cover = diff-cover; # added 2021-07-02
|
|
|
|
discogs_client = discogs-client; # added 2021-07-02
|
2021-10-28 09:03:31 +00:00
|
|
|
djangorestframework-jwt = drf-jwt; # added 2021-07-20
|
2022-07-13 07:38:52 +00:00
|
|
|
django-sampledatahelper = throw "django-sampledatahelper was removed because it is no longer compatible to latest Django version"; # added 2022-07-18
|
2022-03-05 23:55:54 +00:00
|
|
|
django_2 = throw "Django 2 has reached it's projected EOL in 2022/04 and has therefore been removed."; # added 2022-03-05
|
2022-03-03 22:35:07 +00:00
|
|
|
django_appconf = django-appconf; # added 2022-03-03
|
2021-12-26 00:32:15 +00:00
|
|
|
django_environ = django-environ; # added 2021-12-25
|
2022-01-09 15:24:52 +00:00
|
|
|
django_extensions = django-extensions; # added 2022-01-09
|
2022-05-18 23:46:30 +00:00
|
|
|
django_guardian = django-guardian; # added 2022-05-19
|
2022-04-02 01:14:28 +00:00
|
|
|
django_modelcluster = django-modelcluster; # added 2022-04-02
|
2022-06-18 14:20:28 +00:00
|
|
|
django_reversion = django-reversion; # added 2022-06-18
|
2022-05-18 23:42:02 +00:00
|
|
|
django_polymorphic = django-polymorphic; # added 2022-05-24
|
2021-10-11 21:07:22 +00:00
|
|
|
django_redis = django-redis; # added 2021-10-11
|
2021-10-11 21:59:52 +00:00
|
|
|
django_taggit = django-taggit; # added 2021-10-11
|
2021-10-28 09:03:31 +00:00
|
|
|
dns = dnspython; # added 2017-12-10
|
2021-10-28 08:57:01 +00:00
|
|
|
dogpile_cache = dogpile-cache; # added 2021-10-28
|
2021-11-19 19:25:23 +00:00
|
|
|
dogpile-core = throw "dogpile-core is no longer maintained, use dogpile-cache instead"; # added 2021-11-20
|
2022-02-02 23:09:27 +00:00
|
|
|
eebrightbox = throw "eebrightbox is unmaintained upstream and has therefore been removed"; # added 2022-02-03
|
2022-06-22 21:11:05 +00:00
|
|
|
email_validator = email-validator; # added 2022-06-22
|
2022-05-30 03:40:44 +00:00
|
|
|
fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30
|
2021-10-28 09:03:31 +00:00
|
|
|
faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
|
2022-07-20 15:33:12 +00:00
|
|
|
flask_sqlalchemy = flask-sqlalchemy; # added 2022-07-20
|
2022-04-25 14:12:25 +00:00
|
|
|
flask_testing = flask-testing; # added 2022-04-25
|
2022-05-24 04:09:51 +00:00
|
|
|
flask_wtf = flask-wtf; # added 2022-05-24
|
2022-02-05 22:45:40 +00:00
|
|
|
garminconnect-ha = garminconnect; # added 2022-02-05
|
2021-06-12 17:08:21 +00:00
|
|
|
gitdb2 = throw "gitdb2 has been deprecated, use gitdb instead."; # added 2020-03-14
|
|
|
|
glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28
|
2021-03-19 17:16:18 +00:00
|
|
|
google_api_python_client = google-api-python-client; # added 2021-03-19
|
|
|
|
googleapis_common_protos = googleapis-common-protos; # added 2021-03-19
|
2022-07-10 09:03:35 +00:00
|
|
|
graphite_api = throw "graphite_api was removed, because it is no longer maintained"; # added 2022-07-10
|
2022-07-09 07:07:48 +00:00
|
|
|
graphite_beacon = throw "graphite_beacon was removed, because it is no longer maintained"; # added 2022-07-09
|
2021-08-16 10:54:23 +00:00
|
|
|
grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
|
2022-04-06 15:52:23 +00:00
|
|
|
ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06
|
2021-06-01 10:23:40 +00:00
|
|
|
HAP-python = hap-python; # added 2021-06-01
|
2021-11-07 07:08:10 +00:00
|
|
|
hbmqtt = throw "hbmqtt was removed because it is no longer maintained"; # added 2021-11-07
|
2022-01-18 14:33:16 +00:00
|
|
|
hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
|
2022-04-26 10:19:41 +00:00
|
|
|
hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29
|
2021-10-28 09:05:19 +00:00
|
|
|
IMAPClient = imapclient; # added 2021-10-28
|
2022-05-30 20:19:38 +00:00
|
|
|
ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30
|
2022-07-10 09:42:49 +00:00
|
|
|
influxgraph = throw "influxgraph has been removed because it is no longer maintained"; # added 2022-07-10
|
2021-10-15 10:33:48 +00:00
|
|
|
jupyter_client = jupyter-client; # added 2021-10-15
|
2021-11-25 22:22:42 +00:00
|
|
|
Keras = keras; # added 2021-11-25
|
2021-10-31 13:24:52 +00:00
|
|
|
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
|
2022-05-03 16:04:28 +00:00
|
|
|
loo-py = loopy; # added 2022-05-03
|
2022-02-14 17:08:09 +00:00
|
|
|
Markups = markups; # added 2022-02-14
|
2021-06-03 10:09:11 +00:00
|
|
|
MechanicalSoup = mechanicalsoup; # added 2021-06-01
|
2022-05-06 02:37:19 +00:00
|
|
|
memcached = python-memcached; # added 2022-05-06
|
2022-04-26 10:19:41 +00:00
|
|
|
mailman = throw "Please use pkgs.mailman"; # added 2022-04-29
|
|
|
|
mailman-hyperkitty = throw "Please use pkgs.mailmanPackages.mailman-hyperkitty"; # added 2022-04-29
|
|
|
|
mailman-web = throw "Please use pkgs.mailman-web"; # added 2022-04-29
|
2022-04-22 06:10:18 +00:00
|
|
|
net2grid = gridnet; # add 2022-04-22
|
2022-02-16 15:01:33 +00:00
|
|
|
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
|
2022-05-28 16:53:49 +00:00
|
|
|
ordereddict = throw "ordereddict has been removed because it is only useful on unsupported python versions."; # added 2022-05-28
|
2021-06-10 09:53:03 +00:00
|
|
|
pam = python-pam; # added 2020-09-07.
|
2021-10-28 09:03:31 +00:00
|
|
|
PasteDeploy = pastedeploy; # added 2021-10-07
|
2022-04-12 19:59:32 +00:00
|
|
|
pathpy = path; # added 2022-04-12
|
2022-05-25 04:20:00 +00:00
|
|
|
pdfminer = pdfminer-six; # added 2022-05-25
|
2022-04-12 20:38:45 +00:00
|
|
|
pep257 = pydocstyle; # added 2022-04-12
|
2022-05-29 10:25:56 +00:00
|
|
|
poster3 = throw "poster3 is unmaintained and source is no longer available"; # added 2023-05-29
|
2022-04-26 10:19:41 +00:00
|
|
|
postorius = throw "Please use pkgs.mailmanPackages.postorius"; # added 2022-04-29
|
2021-10-28 09:03:31 +00:00
|
|
|
powerlineMemSegment = powerline-mem-segment; # added 2021-10-08
|
2021-10-31 13:24:52 +00:00
|
|
|
privacyidea = throw "privacyidea has been renamed to pkgs.privacyidea"; # added 2021-06-20
|
2021-06-10 09:53:03 +00:00
|
|
|
prometheus_client = prometheus-client; # added 2021-06-10
|
2021-10-28 09:03:31 +00:00
|
|
|
prompt_toolkit = prompt-toolkit; # added 2021-07-22
|
2021-11-08 14:23:14 +00:00
|
|
|
pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08
|
2022-06-02 00:09:31 +00:00
|
|
|
pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
|
2022-01-15 22:19:32 +00:00
|
|
|
pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
|
2022-01-18 16:06:04 +00:00
|
|
|
pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
|
2022-05-27 20:26:46 +00:00
|
|
|
pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28
|
2022-06-06 23:05:41 +00:00
|
|
|
pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07
|
2022-07-07 12:50:21 +00:00
|
|
|
pyialarmxr-homeassistant = throw "The package was removed together with the component support in home-assistant 2022.7.0"; # added 2022-07-07
|
2021-06-12 17:08:21 +00:00
|
|
|
pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
|
2022-06-22 21:19:04 +00:00
|
|
|
PyLD = pyld; # added 2022-06-22
|
2022-06-05 08:43:15 +00:00
|
|
|
pymc3 = pymc; # added 2022-06-05, module was rename starting with 4.0.0
|
2021-06-12 17:08:21 +00:00
|
|
|
pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
|
2022-05-24 03:14:51 +00:00
|
|
|
pyreadability = readability-lxml; # added 2022-05-24
|
2022-07-16 10:59:28 +00:00
|
|
|
pyroute2-core = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
|
|
|
|
pyroute2-ethtool = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
|
|
|
|
pyroute2-ipdb = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
|
|
|
|
pyroute2-ipset = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
|
|
|
|
pyroute2-ndb = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
|
|
|
|
pyroute2-nftables = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
|
|
|
|
pyroute2-nslink = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
|
|
|
|
pyroute2-protocols = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
|
2021-10-22 13:36:24 +00:00
|
|
|
pysmart-smartx = pysmart; # added 2021-10-22
|
2022-05-29 22:12:40 +00:00
|
|
|
pyspotify = throw "pyspotify has been removed because Spotify stopped supporting libspotify"; # added 2022-05-29
|
2022-02-10 00:09:07 +00:00
|
|
|
pytest_6 = pytest; # added 2022-02-10
|
2021-07-20 20:42:24 +00:00
|
|
|
pytestcov = pytest-cov; # added 2021-01-04
|
2021-06-12 17:08:21 +00:00
|
|
|
pytest-pep8 = pytestpep8; # added 2021-01-04
|
2022-04-12 20:38:45 +00:00
|
|
|
pytest-pep257 = throw "pytest-pep257 was removed, as the pep257 package was migrated into pycodestyle"; # added 2022-04-12
|
2022-03-09 16:48:52 +00:00
|
|
|
pytest-pythonpath = throw "pytest-pythonpath is obsolete as of pytest 7.0.0 and has been removed"; # added 2022-03-09
|
2021-06-12 17:08:21 +00:00
|
|
|
pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10
|
2021-07-20 21:08:40 +00:00
|
|
|
pytestquickcheck = pytest-quickcheck; # added 2021-07-20
|
2021-07-20 21:07:53 +00:00
|
|
|
pytestrunner = pytest-runner; # added 2021-01-04
|
2021-11-12 06:03:39 +00:00
|
|
|
python-igraph = igraph; # added 2021-11-11
|
2021-07-27 12:22:45 +00:00
|
|
|
python-lz4 = lz4; # added 2018-06-01
|
2022-05-07 11:05:40 +00:00
|
|
|
python_magic = python-magic; # added 2022-05-07
|
2021-10-31 13:22:53 +00:00
|
|
|
python_mimeparse = python-mimeparse; # added 2021-10-31
|
2022-08-03 22:55:25 +00:00
|
|
|
python-language-server = throw "python-language-server is no longer maintained, use the python-lsp-server community fork instead."; # Added 2022-08-03
|
2021-09-11 10:16:44 +00:00
|
|
|
python-subunit = subunit; # added 2021-09-10
|
2021-07-20 21:08:56 +00:00
|
|
|
pytest_xdist = pytest-xdist; # added 2021-01-04
|
2021-07-20 21:19:21 +00:00
|
|
|
python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
|
2022-03-07 20:02:23 +00:00
|
|
|
pytwitchapi = twitchapi; # added 2022-03-07
|
2021-06-12 17:08:21 +00:00
|
|
|
qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09
|
2022-01-12 17:51:18 +00:00
|
|
|
qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
|
2021-11-06 00:08:08 +00:00
|
|
|
rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05
|
2022-01-11 21:31:45 +00:00
|
|
|
repeated_test = throw "repeated_test is no longer maintained"; # added 2022-01-11
|
2022-02-12 13:33:27 +00:00
|
|
|
requests_oauthlib = requests-oauthlib; # added 2022-02-12
|
2021-07-20 21:21:18 +00:00
|
|
|
requests_toolbelt = requests-toolbelt; # added 2017-09-26
|
2022-01-15 11:25:05 +00:00
|
|
|
roboschool = throw "roboschool is deprecated in favor of PyBullet and has been removed"; # added 2022-01-15
|
2022-03-31 09:50:51 +00:00
|
|
|
ROPGadget = ropgadget; # added 2021-07-06
|
2021-10-31 13:24:52 +00:00
|
|
|
rotate-backups = throw "rotate-backups was removed in favor of the top-level rotate-backups"; # added 2021-07-01
|
2021-11-01 20:58:01 +00:00
|
|
|
ruamel_base = ruamel-base; # added 2021-11-01
|
2021-11-01 20:59:40 +00:00
|
|
|
ruamel_yaml = ruamel-yaml; # added 2021-11-01
|
2021-11-01 21:00:09 +00:00
|
|
|
ruamel_yaml_clib = ruamel-yaml-clib; # added 2021-11-01
|
2022-04-20 00:46:52 +00:00
|
|
|
sapi-python-client = kbcstorage; # added 2022-04-20
|
2021-07-20 21:22:39 +00:00
|
|
|
scikitlearn = scikit-learn; # added 2021-07-21
|
2021-10-28 09:03:31 +00:00
|
|
|
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
|
2021-06-03 10:09:11 +00:00
|
|
|
setuptools_scm = setuptools-scm; # added 2021-06-03
|
2022-05-21 01:44:48 +00:00
|
|
|
sharkiqpy = sharkiq; # added 2022-05-21
|
2021-06-12 17:08:21 +00:00
|
|
|
smart_open = smart-open; # added 2021-03-14
|
|
|
|
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
|
2022-03-31 09:50:51 +00:00
|
|
|
SPARQLWrapper = sparqlwrapper;
|
2022-08-03 16:30:10 +00:00
|
|
|
sphinx_rtd_theme = sphinx-rtd-theme; # added 2022-08-03
|
2021-10-28 09:03:31 +00:00
|
|
|
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
|
2021-10-28 08:59:03 +00:00
|
|
|
sqlalchemy_migrate = sqlalchemy-migrate; # added 2021-10-28
|
2022-04-14 20:29:18 +00:00
|
|
|
SQLAlchemy-ImageAttach = throw "sqlalchemy-imageattach has been removed as it is incompatible with sqlalchemy 1.4 and unmaintained"; # added 2022-04-23
|
2021-11-26 11:08:35 +00:00
|
|
|
tensorflow-bin_2 = tensorflow-bin; # added 2021-11-25
|
|
|
|
tensorflow-build_2 = tensorflow-build; # added 2021-11-25
|
|
|
|
tensorflow-estimator_2 = tensorflow-estimator; # added 2021-11-25
|
2022-03-06 22:46:59 +00:00
|
|
|
tensorflow-tensorboard = tensorboard; # added 2022-03-06
|
2021-11-26 11:08:35 +00:00
|
|
|
tensorflow-tensorboard_2 = tensorflow-tensorboard; # added 2021-11-25
|
2021-10-31 19:06:20 +00:00
|
|
|
tvnamer = throw "tvnamer was moved to pkgs.tvnamer"; # added 2021-07-05
|
2022-05-30 02:40:49 +00:00
|
|
|
types-cryptography = throw "types-cryptography has been removed because it is obsolete since cryptography version 3.4.4."; # added 2022-05-30
|
2022-05-30 02:41:14 +00:00
|
|
|
types-paramiko = throw "types-paramiko has been removed because it was unused."; # added 2022-05-30
|
2021-10-28 09:03:31 +00:00
|
|
|
WazeRouteCalculator = wazeroutecalculator; # added 2021-09-29
|
2022-05-29 11:55:03 +00:00
|
|
|
webapp2 = throw "webapp2 is unmaintained since 2012"; # added 2022-05-29
|
2021-10-28 09:03:31 +00:00
|
|
|
websocket_client = websocket-client; # added 2021-06-15
|
2021-12-31 14:52:42 +00:00
|
|
|
xenomapper = throw "xenomapper was moved to pkgs.xenomapper"; # added 2021-12-31
|
2021-10-22 13:30:55 +00:00
|
|
|
zc-buildout221 = zc-buildout; # added 2021-07-21
|
2021-12-09 05:02:28 +00:00
|
|
|
zc_buildout_nix = throw "zc_buildout_nix was pinned to a version no longer compatible with other modules";
|
2021-03-15 00:00:14 +00:00
|
|
|
})
|