regs-parser/shell.nix

15 lines
284 B
Nix
Raw Normal View History

2020-07-28 16:09:24 +08:00
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell ({
buildInputs = (with pkgs; [
poppler_utils
python3
2020-07-28 16:09:24 +08:00
]);
shellHook = ''
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
2020-07-28 16:09:24 +08:00
echo ========================
cat ./README
'';
})