30 lines
594 B
Nix
30 lines
594 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
|
|
with pkgs;
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = [
|
|
retext # markdown viewer
|
|
|
|
# Python development environment
|
|
(python3.withPackages(ps: with ps; [
|
|
# For blueprint configuration
|
|
python-dotenv
|
|
|
|
# Testing
|
|
pytest
|
|
pytest-flask
|
|
|
|
# web framework
|
|
flask
|
|
|
|
# Database
|
|
alembic # migrations
|
|
flask-sqlalchemy # orm
|
|
sqlite # driver
|
|
sqlite-utils # utilities
|
|
]))
|
|
];
|
|
}
|
|
|