ac862dfc1f
added it to configuration
30 lines
444 B
Nix
30 lines
444 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.workstation.development.python;
|
|
in
|
|
{
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
python313
|
|
|
|
# package tooling
|
|
python313Packages.uv
|
|
python313Packages.virtualenv
|
|
|
|
# dev tools
|
|
ruff
|
|
black
|
|
mypy
|
|
|
|
# optional data science base tools
|
|
python313Packages.numpy
|
|
python313Packages.pandas
|
|
];
|
|
};
|
|
}
|