mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
104 lines
3.1 KiB
Nix
104 lines
3.1 KiB
Nix
# Extension with Python 2 packages that is overlayed on top
|
|
# of the Python 3 packages set. This way, Python 2+3 compatible
|
|
# packages can still be used.
|
|
|
|
self: super:
|
|
|
|
with self;
|
|
with super;
|
|
{
|
|
attrs = callPackage ../development/python2-modules/attrs { };
|
|
|
|
backports-functools-lru-cache =
|
|
callPackage ../development/python2-modules/backports-functools-lru-cache
|
|
{ };
|
|
|
|
bootstrapped-pip = toPythonModule (callPackage ../development/python2-modules/bootstrapped-pip { });
|
|
|
|
cffi = callPackage ../development/python2-modules/cffi { inherit cffi; };
|
|
|
|
configparser = callPackage ../development/python2-modules/configparser { };
|
|
|
|
contextlib2 = callPackage ../development/python2-modules/contextlib2 { };
|
|
|
|
coverage = callPackage ../development/python2-modules/coverage { };
|
|
|
|
enum = callPackage ../development/python2-modules/enum { };
|
|
|
|
filelock = callPackage ../development/python2-modules/filelock { };
|
|
|
|
futures = callPackage ../development/python2-modules/futures { };
|
|
|
|
hypothesis = callPackage ../development/python2-modules/hypothesis { };
|
|
|
|
importlib-metadata = callPackage ../development/python2-modules/importlib-metadata { };
|
|
|
|
jinja2 = callPackage ../development/python2-modules/jinja2 { };
|
|
|
|
markupsafe = callPackage ../development/python2-modules/markupsafe { };
|
|
|
|
mock = callPackage ../development/python2-modules/mock { };
|
|
|
|
more-itertools = callPackage ../development/python2-modules/more-itertools { };
|
|
|
|
# ninja python stub was created to help simplify python builds using PyPA's
|
|
# build tool in Python 3, but it does not yet support Python 2
|
|
ninja = pkgs.buildPackages.ninja;
|
|
|
|
packaging = callPackage ../development/python2-modules/packaging { };
|
|
|
|
pip = callPackage ../development/python2-modules/pip { };
|
|
|
|
pluggy = callPackage ../development/python2-modules/pluggy { };
|
|
|
|
pycairo = callPackage ../development/python2-modules/pycairo {
|
|
inherit (pkgs.buildPackages) meson;
|
|
};
|
|
|
|
pygobject2 = callPackage ../development/python2-modules/pygobject { };
|
|
|
|
pygtk = callPackage ../development/python2-modules/pygtk { };
|
|
|
|
pyparsing = callPackage ../development/python2-modules/pyparsing { };
|
|
|
|
pytest = pytest_4;
|
|
|
|
pytest_4 = callPackage ../development/python2-modules/pytest {
|
|
# hypothesis tests require pytest that causes dependency cycle
|
|
hypothesis = self.hypothesis.override {
|
|
doCheck = false;
|
|
};
|
|
};
|
|
|
|
pytest-xdist = callPackage ../development/python2-modules/pytest-xdist { };
|
|
|
|
recoll = disabled super.recoll;
|
|
|
|
rivet = disabled super.rivet;
|
|
|
|
rpm = disabled super.rpm;
|
|
|
|
scandir = callPackage ../development/python2-modules/scandir { };
|
|
|
|
setuptools = callPackage ../development/python2-modules/setuptools { };
|
|
|
|
setuptools-scm = callPackage ../development/python2-modules/setuptools-scm { };
|
|
|
|
typing = callPackage ../development/python2-modules/typing { };
|
|
|
|
six = super.six.overridePythonAttrs (_: {
|
|
doCheck = false; # circular dependency with pytest
|
|
});
|
|
|
|
wcwidth = callPackage ../development/python2-modules/wcwidth {
|
|
inherit wcwidth;
|
|
};
|
|
|
|
wheel = callPackage ../development/python2-modules/wheel { };
|
|
|
|
zeek = disabled super.zeek;
|
|
|
|
zipp = callPackage ../development/python2-modules/zipp { };
|
|
|
|
}
|