templates: add uv-python

This commit is contained in:
2026-06-19 17:52:34 +02:00
parent 66c7fc1382
commit 78441fb2d5
3 changed files with 131 additions and 0 deletions
+17
View File
@@ -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`
'';
};
}