Add shell.nix

This commit is contained in:
Tom Hubrecht 2022-08-01 13:33:30 +02:00
parent 9d4902365f
commit 4fa3f96184

22
shell.nix Normal file
View file

@ -0,0 +1,22 @@
let
mach-nix = import
(builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix";
ref = "refs/tags/3.5.0";
})
{ };
requirements = builtins.readFile ./requirements.txt;
requirements-dev = ''
django-debug-toolbar
ipython
black
isort
flake8
'';
in
mach-nix.mkPythonShell {
requirements = requirements + requirements-dev;
}