pythonPackages.meson: init

Add meson as Python package so it can easily be used by mesonpep517 for
PEP 517 builds.
This commit is contained in:
Frederik Rietdijk 2019-11-05 11:25:49 +01:00 committed by Frederik Rietdijk
parent eb98b1d1d2
commit d9b0ef5b0a

View File

@ -717,7 +717,7 @@ in {
jwcrypto = callPackage ../development/python-modules/jwcrypto { };
kconfiglib = callPackage ../development/python-modules/kconfiglib { };
labelbox = callPackage ../development/python-modules/labelbox { };
lammps-cython = callPackage ../development/python-modules/lammps-cython {
@ -919,7 +919,7 @@ in {
pybullet = callPackage ../development/python-modules/pybullet { };
pycairo = callPackage ../development/python-modules/pycairo {
inherit (pkgs) pkgconfig;
inherit (pkgs) meson pkgconfig;
};
pycategories = callPackage ../development/python-modules/pycategories { };
@ -979,7 +979,7 @@ in {
};
pygobject3 = callPackage ../development/python-modules/pygobject/3.nix {
inherit (pkgs) pkgconfig;
inherit (pkgs) meson pkgconfig;
};
pygtail = callPackage ../development/python-modules/pygtail { };
@ -2470,7 +2470,7 @@ in {
grip = callPackage ../development/python-modules/grip { };
gst-python = callPackage ../development/python-modules/gst-python {
inherit (pkgs) pkgconfig;
inherit (pkgs) meson pkgconfig;
gst-plugins-base = pkgs.gst_all_1.gst-plugins-base;
};
@ -2795,7 +2795,7 @@ in {
python-axolotl-curve25519 = callPackage ../development/python-modules/python-axolotl-curve25519 { };
pythonix = callPackage ../development/python-modules/pythonix {
inherit (pkgs) pkgconfig;
inherit (pkgs) meson pkgconfig;
};
pyramid = callPackage ../development/python-modules/pyramid { };
@ -3852,6 +3852,14 @@ in {
mesa = callPackage ../development/python-modules/mesa { };
meson = disabledIf (pythonOlder "3.5") (toPythonModule ((pkgs.meson.override {
python3Packages = self;
}).overrideAttrs(oldAttrs: {
# We do not want the setup hook in Python packages
# because the build is performed differently.
setupHook = null;
})));
metaphone = callPackage ../development/python-modules/metaphone { };
mezzanine = callPackage ../development/python-modules/mezzanine { };