simpy_terms/shell.nix

18 lines
354 B
Nix
Raw Normal View History

2026-05-24 14:39:44 +03:00
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
packages = [
2026-06-20 13:26:45 +03:00
# Python + third-party deps
(pkgs.python313.withPackages (ps: [
ps.simpy
ps.prompt-toolkit
2026-05-24 14:39:44 +03:00
]))
2026-06-20 13:26:45 +03:00
# Frontend toolchain
pkgs.nodejs_22
2026-05-24 14:39:44 +03:00
];
2026-06-20 13:26:45 +03:00
shellHook = ''
echo "simpy-terns: python $(python --version 2>&1 | cut -d' ' -f2), node $(node --version)"
'';
2026-05-24 14:39:44 +03:00
}