2021-03-15 01:00:14 +01: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-01-18 15:07:05 +01: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-02-08 11:02:31 +01:00
|
|
|
asyncio-nats-client = nats-py; # added 2022-02-08
|
2022-02-15 22:55:09 +01: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 11:03:31 +02: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 23:24:25 +02:00
|
|
|
bt_proximity = bt-proximity; # added 2021-07-02
|
2022-01-18 15:08:06 +01:00
|
|
|
carrot = throw "carrot has been removed, as its development was discontinued in 2012"; # added 2022-01-18
|
2021-10-06 03:06:28 +02:00
|
|
|
class-registry = phx-class-registry; # added 2021-10-05
|
2021-07-20 23:26:16 +02:00
|
|
|
ConfigArgParse = configargparse; # added 2021-03-18
|
2022-01-16 21:42:04 +01:00
|
|
|
cozy = throw "cozy was removed because it was not actually https://pypi.org/project/Cozy/."; # added 2022-01-14
|
2021-07-03 13:24:04 +02:00
|
|
|
dateutil = python-dateutil; # added 2021-07-03
|
2022-01-18 16:46:35 +01: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 19:08:21 +02:00
|
|
|
detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04
|
2021-10-31 14:24:52 +01:00
|
|
|
dftfit = throw "dftfit dependency lammps-cython no longer builds"; # added 2021-07-04
|
2021-07-02 21:58:04 +02:00
|
|
|
diff_cover = diff-cover; # added 2021-07-02
|
|
|
|
discogs_client = discogs-client; # added 2021-07-02
|
2021-10-28 11:03:31 +02:00
|
|
|
djangorestframework-jwt = drf-jwt; # added 2021-07-20
|
2022-03-06 00:55:54 +01: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 23:35:07 +01:00
|
|
|
django_appconf = django-appconf; # added 2022-03-03
|
2021-12-26 01:32:15 +01:00
|
|
|
django_environ = django-environ; # added 2021-12-25
|
2022-01-09 16:24:52 +01:00
|
|
|
django_extensions = django-extensions; # added 2022-01-09
|
2021-10-11 23:07:22 +02:00
|
|
|
django_redis = django-redis; # added 2021-10-11
|
2021-10-11 23:59:52 +02:00
|
|
|
django_taggit = django-taggit; # added 2021-10-11
|
2021-10-28 11:03:31 +02:00
|
|
|
dns = dnspython; # added 2017-12-10
|
2021-10-28 10:57:01 +02:00
|
|
|
dogpile_cache = dogpile-cache; # added 2021-10-28
|
2021-11-19 20:25:23 +01:00
|
|
|
dogpile-core = throw "dogpile-core is no longer maintained, use dogpile-cache instead"; # added 2021-11-20
|
2022-02-03 00:09:27 +01:00
|
|
|
eebrightbox = throw "eebrightbox is unmaintained upstream and has therefore been removed"; # added 2022-02-03
|
2021-10-28 11:03:31 +02:00
|
|
|
faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
|
2022-02-05 23:45:40 +01:00
|
|
|
garminconnect-ha = garminconnect; # added 2022-02-05
|
2021-06-12 19:08:21 +02: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 18:16:18 +01:00
|
|
|
google_api_python_client = google-api-python-client; # added 2021-03-19
|
|
|
|
googleapis_common_protos = googleapis-common-protos; # added 2021-03-19
|
2021-08-16 12:54:23 +02:00
|
|
|
grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
|
2022-04-06 17:52:23 +02:00
|
|
|
ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06
|
2021-06-01 12:23:40 +02:00
|
|
|
HAP-python = hap-python; # added 2021-06-01
|
2021-11-07 08:08:10 +01:00
|
|
|
hbmqtt = throw "hbmqtt was removed because it is no longer maintained"; # added 2021-11-07
|
2022-01-18 15:33:16 +01: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
|
2021-10-28 11:05:19 +02:00
|
|
|
IMAPClient = imapclient; # added 2021-10-28
|
2021-10-15 12:33:48 +02:00
|
|
|
jupyter_client = jupyter-client; # added 2021-10-15
|
2021-11-25 23:22:42 +01:00
|
|
|
Keras = keras; # added 2021-11-25
|
2021-10-31 14:24:52 +01:00
|
|
|
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
|
2022-02-14 18:08:09 +01:00
|
|
|
Markups = markups; # added 2022-02-14
|
2021-06-03 12:09:11 +02:00
|
|
|
MechanicalSoup = mechanicalsoup; # added 2021-06-01
|
2022-02-16 16:01:33 +01: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
|
2021-06-10 11:53:03 +02:00
|
|
|
pam = python-pam; # added 2020-09-07.
|
2021-10-28 11:03:31 +02:00
|
|
|
PasteDeploy = pastedeploy; # added 2021-10-07
|
|
|
|
powerlineMemSegment = powerline-mem-segment; # added 2021-10-08
|
2021-10-31 14:24:52 +01:00
|
|
|
privacyidea = throw "privacyidea has been renamed to pkgs.privacyidea"; # added 2021-06-20
|
2021-06-10 11:53:03 +02:00
|
|
|
prometheus_client = prometheus-client; # added 2021-06-10
|
2021-10-28 11:03:31 +02:00
|
|
|
prompt_toolkit = prompt-toolkit; # added 2021-07-22
|
2021-11-08 15:23:14 +01:00
|
|
|
pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08
|
2022-01-15 23:19:32 +01:00
|
|
|
pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
|
2022-01-18 17:06:04 +01: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
|
2021-06-12 19:08:21 +02:00
|
|
|
pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
|
|
|
|
pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
|
2021-10-22 15:36:24 +02:00
|
|
|
pysmart-smartx = pysmart; # added 2021-10-22
|
2022-02-10 01:09:07 +01:00
|
|
|
pytest_6 = pytest; # added 2022-02-10
|
2021-07-20 22:42:24 +02:00
|
|
|
pytestcov = pytest-cov; # added 2021-01-04
|
2021-06-12 19:08:21 +02:00
|
|
|
pytest-pep8 = pytestpep8; # added 2021-01-04
|
2022-03-09 17:48:52 +01: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 19:08:21 +02: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 23:08:40 +02:00
|
|
|
pytestquickcheck = pytest-quickcheck; # added 2021-07-20
|
2021-07-20 23:07:53 +02:00
|
|
|
pytestrunner = pytest-runner; # added 2021-01-04
|
2021-11-12 07:03:39 +01:00
|
|
|
python-igraph = igraph; # added 2021-11-11
|
2021-07-27 14:22:45 +02:00
|
|
|
python-lz4 = lz4; # added 2018-06-01
|
2021-10-31 14:22:53 +01:00
|
|
|
python_mimeparse = python-mimeparse; # added 2021-10-31
|
2021-09-11 12:16:44 +02:00
|
|
|
python-subunit = subunit; # added 2021-09-10
|
2021-07-20 23:08:56 +02:00
|
|
|
pytest_xdist = pytest-xdist; # added 2021-01-04
|
2021-07-20 23:19:21 +02:00
|
|
|
python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
|
2022-03-07 21:02:23 +01:00
|
|
|
pytwitchapi = twitchapi; # added 2022-03-07
|
2021-06-12 19:08:21 +02: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 18:51:18 +01:00
|
|
|
qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages";
|
2021-11-06 01:08:08 +01:00
|
|
|
rdflib-jsonld = throw "rdflib-jsonld is not compatible with rdflib 6"; # added 2021-11-05
|
2022-01-11 22:31:45 +01:00
|
|
|
repeated_test = throw "repeated_test is no longer maintained"; # added 2022-01-11
|
2021-07-20 23:21:18 +02:00
|
|
|
requests_toolbelt = requests-toolbelt; # added 2017-09-26
|
2022-01-15 12:25:05 +01:00
|
|
|
roboschool = throw "roboschool is deprecated in favor of PyBullet and has been removed"; # added 2022-01-15
|
2021-10-31 14:24:52 +01:00
|
|
|
rotate-backups = throw "rotate-backups was removed in favor of the top-level rotate-backups"; # added 2021-07-01
|
2021-11-01 21:58:01 +01:00
|
|
|
ruamel_base = ruamel-base; # added 2021-11-01
|
2021-11-01 21:59:40 +01:00
|
|
|
ruamel_yaml = ruamel-yaml; # added 2021-11-01
|
2021-11-01 22:00:09 +01:00
|
|
|
ruamel_yaml_clib = ruamel-yaml-clib; # added 2021-11-01
|
2021-07-20 23:22:39 +02:00
|
|
|
scikitlearn = scikit-learn; # added 2021-07-21
|
2021-10-28 11:03:31 +02:00
|
|
|
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
|
2021-06-03 12:09:11 +02:00
|
|
|
setuptools_scm = setuptools-scm; # added 2021-06-03
|
2021-07-06 10:04:43 +02:00
|
|
|
ROPGadget = ropgadget; # added 2021-07-06
|
2021-06-12 19:08:21 +02:00
|
|
|
smart_open = smart-open; # added 2021-03-14
|
|
|
|
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
|
2021-10-28 11:03:31 +02:00
|
|
|
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
|
2021-10-28 10:59:03 +02:00
|
|
|
sqlalchemy_migrate = sqlalchemy-migrate; # added 2021-10-28
|
2021-11-26 12:08:35 +01: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 23:46:59 +01:00
|
|
|
tensorflow-tensorboard = tensorboard; # added 2022-03-06
|
2021-11-26 12:08:35 +01:00
|
|
|
tensorflow-tensorboard_2 = tensorflow-tensorboard; # added 2021-11-25
|
2021-10-31 20:06:20 +01:00
|
|
|
tvnamer = throw "tvnamer was moved to pkgs.tvnamer"; # added 2021-07-05
|
2021-10-28 11:03:31 +02:00
|
|
|
WazeRouteCalculator = wazeroutecalculator; # added 2021-09-29
|
|
|
|
websocket_client = websocket-client; # added 2021-06-15
|
2021-12-31 15:52:42 +01:00
|
|
|
xenomapper = throw "xenomapper was moved to pkgs.xenomapper"; # added 2021-12-31
|
2021-10-22 15:30:55 +02:00
|
|
|
zc-buildout221 = zc-buildout; # added 2021-07-21
|
2021-12-09 06:02:28 +01:00
|
|
|
zc_buildout_nix = throw "zc_buildout_nix was pinned to a version no longer compatible with other modules";
|
2021-03-15 01:00:14 +01:00
|
|
|
})
|