python312Packages.fastapi-cli: fix name clash with fastapi (#339728)

This commit is contained in:
OTABI Tomoya 2024-09-06 00:04:27 +09:00 committed by GitHub
commit f9d7486ff7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,6 +55,10 @@ let self = buildPythonPackage rec {
mainProgram = "fastapi";
license = licenses.mit;
maintainers = [ ];
# This package provides a `fastapi`-executable that is in conflict with the one from
# python3Packages.fastapi. Because this package is primarily used for the purpose of
# implementing the CLI for python3Packages.fastapi, we reduce the executable's priority
priority = 10;
};
};
in self