Files
pyrad3/shell.nix
2020-09-21 18:16:03 +02:00

39 lines
840 B
Nix

let pkgs = import <nixpkgs> { };
in pkgs.mkShell {
buildInputs = with pkgs; [
git
nixfmt
freeradius
gnumake
python3
python37
python37Packages.virtualenv
python38
python38Packages.virtualenv
python39
python39Packages.virtualenv
python3Packages.bandit
python3Packages.black
python3Packages.coveralls
python3Packages.pep8-naming
python3Packages.poetry
python3Packages.pygments
python3Packages.pytest
python3Packages.pytest-black
python3Packages.pytestcov
python3Packages.pytest-flake8
python3Packages.pytest-isort
python3Packages.pytest-mypy
python3Packages.pytest-pylint
python3Packages.sphinx
python3Packages.pytoml # needed for isort
python3Packages.tox
];
shellHook = ''
export PYTHONPATH=${./src}:$PYTHONPATH
'';
}