kpsul/shell.nix

23 lines
382 B
Nix
Raw Normal View History

2022-10-03 10:34:06 +02:00
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;
}