mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 22:40:57 -05:00
22 lines
789 B
Nix
22 lines
789 B
Nix
# Python packages overlay
|
|
#
|
|
# This overlay configures the Python environment with essential packages.
|
|
# Note: Most Python packages should be managed via uv (pyproject.toml)
|
|
# This overlay is for packages needed at the system level.
|
|
#
|
|
# Usage:
|
|
# - Add system-level Python packages to the list below
|
|
# - For project-specific packages, use uv (e.g., 'uv add package-name')
|
|
# - The Python interpreter is available via pkgs.python
|
|
#
|
|
# Example additions:
|
|
# - numpy, pandas, scipy for scientific computing
|
|
# - pytest, black, mypy for development tools
|
|
final: prev: {
|
|
# Python 3 with system-level packages
|
|
python = prev.python3.withPackages (pyPackages:
|
|
with pyPackages; [
|
|
requests # HTTP library for making API calls
|
|
# Add more system-level packages here
|
|
]);
|
|
}
|