diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..be49fa8 --- /dev/null +++ b/shell.nix @@ -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; +}