Merge pull request #133483 from siraben/archivebox-init
archivebox: fix runtime
This commit is contained in:
commit
a566a9f31d
1 changed files with 12 additions and 6 deletions
|
@ -13,6 +13,17 @@
|
|||
, ipython
|
||||
}:
|
||||
|
||||
let
|
||||
django_3' = django_3.overridePythonAttrs (old: rec {
|
||||
pname = "Django";
|
||||
version = "3.1.7";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-Ms55Lum2oMu+w0ASPiKayfdl3/jCpK6SR6FLK6OjZac=";
|
||||
};
|
||||
});
|
||||
in
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "archivebox";
|
||||
version = "0.6.2";
|
||||
|
@ -22,15 +33,10 @@ buildPythonApplication rec {
|
|||
sha256 = "sha256-zHty7lTra6yab9d0q3EqsPG3F+lrnZL6PjQAbL1A2NY=";
|
||||
};
|
||||
|
||||
# Relax some dependencies
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace '"django>=3.1.3,<3.2"' '"django>=3.1.3"'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
mypy-extensions
|
||||
django_3
|
||||
django_3'
|
||||
django_extensions
|
||||
dateparser
|
||||
youtube-dl
|
||||
|
|
Loading…
Reference in a new issue