28 lines
612 B
Nix
28 lines
612 B
Nix
let
|
|
pkgs = import <nixpkgs> {};
|
|
in
|
|
pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
git
|
|
nixfmt
|
|
pkgs.python37
|
|
pkgs.python38
|
|
pkgs.python3
|
|
pkgs.python3Packages.coveralls
|
|
pkgs.python3Packages.black
|
|
pkgs.python3Packages.poetry
|
|
pkgs.python3Packages.pytest
|
|
pkgs.python3Packages.pytest-black
|
|
pkgs.python3Packages.pytestcov
|
|
pkgs.python3Packages.pytest-flake8
|
|
pkgs.python3Packages.pytest-isort
|
|
pkgs.python3Packages.pytest-mypy
|
|
pkgs.python3Packages.pytest-pylint
|
|
pkgs.python3Packages.tox
|
|
];
|
|
|
|
shellHook = ''
|
|
export PYTHONPATH=${./src}:$PYTHONPATH
|
|
'';
|
|
}
|