flake: devShell with python/pytest/tmux/hyprland/grim
This commit is contained in:
1 parent
8993f026d3
commit
c0a59f5673
1 file changed
+21
-2
@@ -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);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user