From 30489a1622a0e7bdaf297736b1562f55d218b4d6 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Mon, 30 Sep 2024 17:54:27 -0500 Subject: [PATCH] shells/python: init --- shells/python/default.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 shells/python/default.nix diff --git a/shells/python/default.nix b/shells/python/default.nix new file mode 100644 index 000000000..f771efdf9 --- /dev/null +++ b/shells/python/default.nix @@ -0,0 +1,26 @@ +{ mkShell, pkgs, ... }: +mkShell { + packages = with pkgs; [ + black + (python3.withPackages ( + ps: with ps; [ + ipython + flake8 + pip + pytest + ] + )) + # mypy + # pip + # pytest + ruff + ]; + + shellHook = '' + + echo 🔨 Python DevShell + python3 -m venv .venv + source .venv/bin/activate + + ''; +}