vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / top-level / python2-packages.nix
blob073ffa0be2c45928b5dcd79fe346553f0b85e49c
1 # Extension with Python 2 packages that is overlayed on top
2 # of the Python 3 packages set. This way, Python 2+3 compatible
3 # packages can still be used.
5 self: super:
7 with self; with super; {
8   attrs = callPackage ../development/python2-modules/attrs { };
10   backports-functools-lru-cache = callPackage ../development/python2-modules/backports-functools-lru-cache { };
12   bootstrapped-pip = toPythonModule (callPackage ../development/python2-modules/bootstrapped-pip { });
14   cffi = callPackage ../development/python2-modules/cffi { inherit cffi; };
16   configparser = callPackage ../development/python2-modules/configparser { };
18   contextlib2 = callPackage ../development/python2-modules/contextlib2 { };
20   coverage = callPackage ../development/python2-modules/coverage { };
22   enum = callPackage ../development/python2-modules/enum { };
24   filelock =  callPackage ../development/python2-modules/filelock { };
26   futures = callPackage ../development/python2-modules/futures { };
28   hypothesis = callPackage ../development/python2-modules/hypothesis { };
30   importlib-metadata = callPackage ../development/python2-modules/importlib-metadata { };
32   jinja2 = callPackage ../development/python2-modules/jinja2 { };
34   markupsafe = callPackage ../development/python2-modules/markupsafe { };
36   mock = callPackage ../development/python2-modules/mock { };
38   more-itertools = callPackage ../development/python2-modules/more-itertools { };
40   # ninja python stub was created to help simplify python builds using PyPA's
41   # build tool in Python 3, but it does not yet support Python 2
42   ninja = pkgs.buildPackages.ninja;
44   packaging = callPackage ../development/python2-modules/packaging { };
46   pip = callPackage ../development/python2-modules/pip { };
48   pluggy = callPackage ../development/python2-modules/pluggy { };
50   pycairo = callPackage ../development/python2-modules/pycairo {
51     inherit (pkgs.buildPackages) meson;
52   };
54   pygobject2 = callPackage ../development/python2-modules/pygobject { };
56   pygtk = callPackage ../development/python2-modules/pygtk { };
58   pyparsing = callPackage ../development/python2-modules/pyparsing { };
60   pytest = pytest_4;
62   pytest_4 = callPackage
63     ../development/python2-modules/pytest {
64       # hypothesis tests require pytest that causes dependency cycle
65       hypothesis = self.hypothesis.override {
66         doCheck = false;
67       };
68     };
70   pytest-xdist = callPackage ../development/python2-modules/pytest-xdist { };
72   recoll = disabled super.recoll;
74   rivet = disabled super.rivet;
76   rpm = disabled super.rpm;
78   scandir = callPackage ../development/python2-modules/scandir { };
80   setuptools = callPackage ../development/python2-modules/setuptools { };
82   setuptools-scm = callPackage ../development/python2-modules/setuptools-scm { };
84   typing = callPackage ../development/python2-modules/typing { };
86   six = super.six.overridePythonAttrs (_: {
87     doCheck = false;  # circular dependency with pytest
88   });
90   wcwidth = callPackage ../development/python2-modules/wcwidth {
91     inherit wcwidth;
92   };
94   wheel = callPackage ../development/python2-modules/wheel { };
96   zeek = disabled super.zeek;
98   zipp = callPackage ../development/python2-modules/zipp { };