19 lines
482 B
Nix
19 lines
482 B
Nix
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
pkgs.mkShell {
|
|
buildInputs = [
|
|
pkgs.python310
|
|
pkgs.python310Packages.numpy
|
|
pkgs.python310Packages.pytest
|
|
pkgs.python310Packages.uvicorn
|
|
pkgs.python310Packages.fastapi
|
|
];
|
|
|
|
# Set PYTHONPATH to include your Python dependencies.
|
|
# This is useful if you are using Python modules that are not installed in the
|
|
# standard location.
|
|
# shellHook = ''
|
|
# export PYTHONPATH=${pkgs.python3.sitePackages}:$PYTHONPATH
|
|
# '';
|
|
}
|