forked from mirrors/nixpkgs
python3Packages.meson-python: Provide typing-extensions for python<3.10
This commit is contained in:
parent
923d489a22
commit
55fbb9e257
|
@ -7,6 +7,8 @@
|
|||
, ninja
|
||||
, pyproject-metadata
|
||||
, tomli
|
||||
, typing-extensions
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -25,6 +27,8 @@ buildPythonPackage rec {
|
|||
ninja
|
||||
pyproject-metadata
|
||||
tomli
|
||||
] ++ lib.optionals (pythonOlder "3.10") [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -42,8 +46,9 @@ buildPythonPackage rec {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/mesonbuild/meson-python/blob/${version}/CHANGELOG.rst";
|
||||
description = "Meson Python build backend (PEP 517)";
|
||||
homepage = "https://github.com/FFY00/meson-python";
|
||||
homepage = "https://github.com/mesonbuild/meson-python";
|
||||
license = [ lib.licenses.mit ];
|
||||
maintainers = [ lib.maintainers.fridh ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue