flake: devShell with python/pytest/tmux/hyprland/grim

This commit is contained in:
Hermenix committed 2026-09-28 05:04:06 +00:00
1 parent 8993f026d3
commit c0a59f5673
1 file changed
+21 -2
+21 -2
View File
@@ -19,8 +19,27 @@
default = hyprland-headless-stream;
};
# `checks` (unit tests + the VM integration test) and `devShells` are owned
# by the test-harness workstream -- see docs/CONTRACT.md for the interface.
# `checks` (unit tests + the VM integration test) is owned by the
# test-harness workstream -- see docs/CONTRACT.md for the interface.
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {
packages = with pkgs; [
python3
python3.pkgs.pytest
git
tmux
jq
hyprland
grim
ffmpeg
];
shellHook = ''
export PYTHONPATH="$PWD/src''${PYTHONPATH:+:$PYTHONPATH}"
echo "hhstream dev shell -- python $(python3 --version 2>&1 | cut -d' ' -f2)"
'';
};
});
formatter = forAllSystems (pkgs: pkgs.alejandra);
};