Add shell.nix
This commit is contained in:
parent
9d4902365f
commit
4fa3f96184
1 changed files with 22 additions and 0 deletions
22
shell.nix
Normal file
22
shell.nix
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue