dev: update requirements

This commit is contained in:
Tom Hubrecht 2022-10-03 13:08:01 +02:00
parent d756cb1f5b
commit e2d7bba816
2 changed files with 18 additions and 3 deletions

View file

@ -1,6 +1,6 @@
configparser==3.5.0 configparser==3.5.0
Django==3.2.* Django==3.2.*
django-autocomplete-light==3.9.* django-autocomplete-light==3.9.4
django-cas-ng==4.3.* django-cas-ng==4.3.*
django-djconfig==0.10.0 django-djconfig==0.10.0
django-hCaptcha==0.2.0 django-hCaptcha==0.2.0

View file

@ -1,17 +1,32 @@
{ pkgs ? (import <nixpkgs>) {}}:
let let
pypiDataRev = "2505eb53d85cd727c87611ee4aa35152821a12b2";
pypiDataSha256 = "0nhl0rzlp4fgzxb15pmnq14d0rzcwhvwn40vx7fnk41z9gwxcp4c";
pypiData = builtins.fetchTarball {
name = "pypi-deps-db-src";
url = "https://github.com/DavHau/pypi-deps-db/tarball/${pypiDataRev}";
sha256 = "${pypiDataSha256}";
};
mach-nix = import mach-nix = import
(builtins.fetchGit { (builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix"; url = "https://github.com/DavHau/mach-nix";
ref = "refs/tags/3.5.0"; ref = "refs/tags/3.5.0";
}) })
{ }; {
inherit pypiData;
python = "python39";
};
requirements = builtins.readFile ./requirements.txt; requirements = builtins.readFile ./requirements.txt;
requirements-dev = '' requirements-dev = ''
django-debug-toolbar django-debug-toolbar
ipython ipython
black black==22.3.0
isort isort
flake8 flake8
''; '';