archivebox: fix runtime

+12 -6
+12 -6
pkgs/applications/misc/archivebox/default.nix
··· 13 13 , ipython 14 14 }: 15 15 16 + let 17 + django_3' = django_3.overridePythonAttrs (old: rec { 18 + pname = "Django"; 19 + version = "3.1.7"; 20 + src = fetchPypi { 21 + inherit pname version; 22 + sha256 = "sha256-Ms55Lum2oMu+w0ASPiKayfdl3/jCpK6SR6FLK6OjZac="; 23 + }; 24 + }); 25 + in 26 + 16 27 buildPythonApplication rec { 17 28 pname = "archivebox"; 18 29 version = "0.6.2"; ··· 22 33 sha256 = "sha256-zHty7lTra6yab9d0q3EqsPG3F+lrnZL6PjQAbL1A2NY="; 23 34 }; 24 35 25 - # Relax some dependencies 26 - postPatch = '' 27 - substituteInPlace setup.py --replace '"django>=3.1.3,<3.2"' '"django>=3.1.3"' 28 - ''; 29 - 30 36 propagatedBuildInputs = [ 31 37 requests 32 38 mypy-extensions 33 - django_3 39 + django_3' 34 40 django_extensions 35 41 dateparser 36 42 youtube-dl