python3.pkgs.meson-python: depend on top-level ninja
This is a build tool that depends on a ninja binary directly, not through the ninja PyPI package.
This commit is contained in:
parent
a586a9e55f
commit
39dd3d18bc
|
@ -43,13 +43,6 @@ buildPythonPackage rec {
|
|||
./add-build-flags.sh
|
||||
];
|
||||
|
||||
# Ugly work-around. Drop ninja dependency.
|
||||
# We already have ninja, but it comes without METADATA.
|
||||
# Building ninja-python-distributions is the way to go.
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml --replace "'ninja'," ""
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/mesonbuild/meson-python/blob/${version}/CHANGELOG.rst";
|
||||
description = "Meson Python build backend (PEP 517)";
|
||||
|
|
|
@ -6442,7 +6442,9 @@ self: super: with self; {
|
|||
|
||||
mesonpep517 = callPackage ../development/python-modules/mesonpep517 { };
|
||||
|
||||
meson-python = callPackage ../development/python-modules/meson-python { };
|
||||
meson-python = callPackage ../development/python-modules/meson-python {
|
||||
inherit (pkgs) ninja;
|
||||
};
|
||||
|
||||
messagebird = callPackage ../development/python-modules/messagebird { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue