templates: add uv-python
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
_: {
|
||||
flake.templates.uv-python = {
|
||||
path = ./_uv-python;
|
||||
description = "A simple uv2nix python project";
|
||||
welcomeText = ''
|
||||
# Setup your uv project first
|
||||
- Run `nix develop .#uv`
|
||||
- Run `uv init --app --packages`
|
||||
- Run `uv lock`
|
||||
- Edit `projectName` in flake.nix
|
||||
|
||||
# Start developing
|
||||
- Run `direnv allow` or `nix develop`
|
||||
- Add packages with `uv add --dev black pyright`
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user