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