3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.meson-python: Provide typing-extensions for python<3.10

This commit is contained in:
Martin Weinelt 2023-01-09 01:19:46 +01:00
parent 923d489a22
commit 55fbb9e257
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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 ];
};