Skip to content

Commit 09f7468

Browse files
committed
Add fastapi-mvc development dependency
1 parent 70c6bca commit 09f7468

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

template/pyproject.toml.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ black = "~23.1.0"
4747
Sphinx = "~5.3.0"
4848
Pallets-Sphinx-Themes = "~2.0.2"
4949
myst-parser = "~0.19.0"
50+
fastapi-mvc = "^0.26.0"
5051

5152
[tool.poetry.scripts]
5253
{{script_name}} = '{{package_name}}.cli:cli'

template/{% if nix %}overlay.nix{% endif %}.jinja

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,20 @@ final: prev: {
3434
];
3535
});
3636

37+
plumbum = py-prev.plumbum.overridePythonAttrs (old: {
38+
buildInputs = old.buildInputs or [ ] ++ [ py-final.hatch-vcs py-final.hatchling ];
39+
});
40+
41+
pyyaml-include = py-prev.pyyaml-include.overridePythonAttrs (old: {
42+
postPatch = ''
43+
substituteInPlace setup.py --replace 'setup()' 'setup(version="${old.version}")'
44+
'';
45+
});
46+
47+
fastapi-mvc = py-prev.fastapi-mvc.overridePythonAttrs (old: {
48+
buildInputs = old.buildInputs or [ ] ++ [ py-final.poetry ];
49+
});
50+
3751
});
3852

3953
});

0 commit comments

Comments
 (0)