added nix shell file

This commit is contained in:
Alex
2022-09-02 08:50:45 +02:00
parent 4fb451ffa6
commit 433fad2dec
2 changed files with 11 additions and 0 deletions

10
shell.nix Normal file
View File

@@ -0,0 +1,10 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
name = "python-shell";
buildInputs = with pkgs; [
python38
python38Packages.tox
python38Packages.setuptools
python38Packages.virtualenv
];
}

View File

@@ -2,6 +2,7 @@
envlist = py38
[testenv]
passenv = PYTHONPATH
deps =
pytest
flake8