Skip to content

Commit

Permalink
mailmanPackages.hyperkitts: 1.3.9 -> 1.3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Dec 10, 2024
1 parent c48288c commit 7865013
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
8 changes: 4 additions & 4 deletions pkgs/servers/mail/mailman/hyperkitty.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
with python3.pkgs;

buildPythonPackage rec {
pname = "HyperKitty";
version = "1.3.9";
pname = "hyperkitty";
version = "1.3.12";
pyproject = true;

disabled = pythonOlder "3.10";

src = fetchurl {
url = "https://gitlab.com/mailman/hyperkitty/-/releases/${version}/downloads/hyperkitty-${version}.tar.gz";
hash = "sha256-BfhCh4zZcfwoIfubW/+MUWXwh1yFOH/jpRdQdsj6lME=";
hash = "sha256-3rWCk37FvJ6pwdXYa/t2pNpCm2Dh/qb9aWTnxmfPFh0=";
};

nativeBuildInputs = [
Expand All @@ -27,7 +27,7 @@ buildPythonPackage rec {
django-gravatar2
django-haystack
django-mailman3
django-q
django-q2
django-compressor
django-extensions
djangorestframework
Expand Down
13 changes: 6 additions & 7 deletions pkgs/servers/mail/mailman/python.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@ lib.fix (self: python3.override {
[2] f931bc81d63f5cfda55ac73d754c87b3fd63b291
*/

# django-q tests fail with redis 5.0.0.
# https://gitlab.com/mailman/hyperkitty/-/issues/493
redis = super.redis.overridePythonAttrs ({ pname, ... }: rec {
version = "4.6.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-WF3FFrnrBCphnvCjnD19Vf6BvbTfCaUsnN3g0Hvxqn0=";
# the redis python library only supports hiredis 3+ from version 5.1.0 onwards
hiredis = super.hiredis.overrideAttrs (new: { src, ... }: {
version = "3.1.0";
src = src.override {
rev = "refs/tags/v${new.version}";
hash = "sha256-ID5OJdARd2N2GYEpcYOpxenpZlhWnWr5fAClAgqEgGg=";
};
});
})
Expand Down

0 comments on commit 7865013

Please sign in to comment.