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 ({
|
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
|
2021-10-28 09:03:31 +00:00
|
|
|
bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # added 2019-11-27
|
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
|
2021-07-03 11:24:04 +00:00
|
|
|
dateutil = python-dateutil; # added 2021-07-03
|
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
|
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-10-28 09:03:31 +00:00
|
|
|
faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
|
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
|
2021-08-16 10:54:23 +00:00
|
|
|
grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
|
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
|
2021-10-28 09:05:19 +00:00
|
|
|
IMAPClient = imapclient; # added 2021-10-28
|
2021-10-15 10:33:48 +00:00
|
|
|
jupyter_client = jupyter-client; # added 2021-10-15
|
2021-10-31 13:24:52 +00:00
|
|
|
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
|
2021-06-03 10:09:11 +00:00
|
|
|
MechanicalSoup = mechanicalsoup; # added 2021-06-01
|
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
|
|
|
|
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
|
2021-06-12 17:08:21 +00: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 13:36:24 +00:00
|
|
|
pysmart-smartx = pysmart; # added 2021-10-22
|
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
|
|
|
|
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-07-27 12:22:45 +00:00
|
|
|
python-lz4 = lz4; # added 2018-06-01
|
2021-10-31 13:22:53 +00:00
|
|
|
python_mimeparse = python-mimeparse; # added 2021-10-31
|
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
|
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
|
2021-07-20 21:21:18 +00:00
|
|
|
requests_toolbelt = requests-toolbelt; # added 2017-09-26
|
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-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
|
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
|
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
|
2021-10-31 19:06:20 +00:00
|
|
|
topydo = throw "topydo was moved to pkgs.topydo"; # added 2017-09-22
|
|
|
|
tvnamer = throw "tvnamer was moved to pkgs.tvnamer"; # added 2021-07-05
|
2021-10-28 09:03:31 +00:00
|
|
|
WazeRouteCalculator = wazeroutecalculator; # added 2021-09-29
|
|
|
|
websocket_client = websocket-client; # added 2021-06-15
|
2021-10-22 13:30:55 +00:00
|
|
|
zc-buildout221 = zc-buildout; # added 2021-07-21
|
2021-03-15 00:00:14 +00:00
|
|
|
})
|