2025-01-16 15:56:55 +01:00
|
|
|
# shell.nix
|
|
|
|
let
|
|
|
|
# We pin to a specific nixpkgs commit for reproducibility.
|
|
|
|
# Last updated: 2024-04-29. Check for new commits at https://status.nixos.org.
|
|
|
|
pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae.tar.gz") {};
|
|
|
|
in pkgs.mkShell {
|
|
|
|
packages = [
|
2025-01-19 07:45:53 +01:00
|
|
|
(pkgs.python311.withPackages (python-pkgs: with python-pkgs; [
|
2025-01-16 15:56:55 +01:00
|
|
|
# select Python packages here
|
2025-01-19 07:45:53 +01:00
|
|
|
python-lsp-server
|
|
|
|
python-lsp-ruff
|
|
|
|
pylsp-mypy
|
|
|
|
pylsp-rope
|
|
|
|
requests
|
2025-01-16 15:56:55 +01:00
|
|
|
]))
|
|
|
|
];
|
|
|
|
}
|