paperless-ng: fix redis connection

paperless-ng is not yet compatible with aioredis 2, which was updated
with the last python update, so pin its version to 1.3.1.
This commit is contained in:
Flakebi 2021-09-18 17:47:13 +02:00
parent 6a836f785b
commit d80949067f
No known key found for this signature in database
GPG Key ID: 38E7ED984D7DCD02

View File

@ -27,12 +27,20 @@ let
# https://github.com/Koed00/django-q/issues/526
django-q = super.django-q.overridePythonAttrs (oldAttrs: rec {
version = "1.3.4";
src = super.fetchPypi {
inherit (oldAttrs) pname;
src = oldAttrs.src.override {
inherit version;
sha256 = "Uj1U3PG2YVLBtlj5FPAO07UYo0MqnezUiYc4yo274Q8=";
};
});
# Incompatible with aioredis 2
aioredis = super.aioredis.overridePythonAttrs (oldAttrs: rec {
version = "1.3.1";
src = oldAttrs.src.override {
inherit version;
sha256 = "0fi7jd5hlx8cnv1m97kv9hc4ih4l8v15wzkqwsp73is4n0qazy0m";
};
});
};
};