2021-11-29 04:26:21 -08:00
|
|
|
# shell.nix
|
|
|
|
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
let
|
|
|
|
my-python = pkgs.python3;
|
|
|
|
python-with-my-packages = my-python.withPackages (p: with p; [
|
|
|
|
icecream
|
2021-11-30 06:24:51 -08:00
|
|
|
python-ctags3
|
2021-12-21 23:29:32 -08:00
|
|
|
jinja2
|
2022-01-28 10:47:10 -08:00
|
|
|
click
|
|
|
|
pypandoc
|
2021-11-29 04:26:21 -08:00
|
|
|
# other python packages you want
|
|
|
|
]);
|
|
|
|
in
|
|
|
|
pkgs.mkShell {
|
|
|
|
buildInputs = [
|
|
|
|
python-with-my-packages
|
2022-01-28 10:47:10 -08:00
|
|
|
pkgs.pandoc
|
2021-11-29 04:26:21 -08:00
|
|
|
# other dependencies
|
|
|
|
];
|
|
|
|
shellHook = ''
|
|
|
|
PYTHONPATH=${python-with-my-packages}/${python-with-my-packages.sitePackages}
|
|
|
|
# maybe set more env-vars
|
|
|
|
'';
|
|
|
|
}
|
|
|
|
|