micrograd/default.nix

19 lines
482 B
Nix
Raw Normal View History

2024-03-18 19:45:15 -07:00
{ 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
# '';
}