summary refs log tree commit diff
path: root/pkgs/servers/mail/mailman/hyperkitty.nix
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-10-11 01:53:00 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-10-11 01:54:21 +0200
commitb8144b632e345ae36416875b67e8ffec5f6e9d4a (patch)
treeea81e90bd58c075343f22b904f1eb1eec74d81ad /pkgs/servers/mail/mailman/hyperkitty.nix
parent250fdc580c995a653050ffb3458204038a81baa5 (diff)
downloadnixpkgs-b8144b632e345ae36416875b67e8ffec5f6e9d4a.tar
nixpkgs-b8144b632e345ae36416875b67e8ffec5f6e9d4a.tar.gz
nixpkgs-b8144b632e345ae36416875b67e8ffec5f6e9d4a.tar.bz2
nixpkgs-b8144b632e345ae36416875b67e8ffec5f6e9d4a.tar.lz
nixpkgs-b8144b632e345ae36416875b67e8ffec5f6e9d4a.tar.xz
nixpkgs-b8144b632e345ae36416875b67e8ffec5f6e9d4a.tar.zst
nixpkgs-b8144b632e345ae36416875b67e8ffec5f6e9d4a.zip
python3Packages.hyperkitty: 1.3.4 -> unstable-2021-10-08
Fixes the failing test suite.
Diffstat (limited to 'pkgs/servers/mail/mailman/hyperkitty.nix')
-rw-r--r--pkgs/servers/mail/mailman/hyperkitty.nix20
1 files changed, 13 insertions, 7 deletions
diff --git a/pkgs/servers/mail/mailman/hyperkitty.nix b/pkgs/servers/mail/mailman/hyperkitty.nix
index 33d31fb8e72..a2f9ecd9fb0 100644
--- a/pkgs/servers/mail/mailman/hyperkitty.nix
+++ b/pkgs/servers/mail/mailman/hyperkitty.nix
@@ -1,6 +1,6 @@
-{ lib, buildPythonPackage, fetchPypi, isPy3k, isort, coverage, mock
+{ lib, buildPythonPackage, fetchFromGitLab, isPy3k, isort, coverage, mock
 , robot-detection, django_extensions, rjsmin, cssmin, django-mailman3
-, django-haystack, flufl_lock, networkx, python-dateutil, defusedxml
+, django-haystack, flufl_lock, mistune_2_0, networkx, python-dateutil, defusedxml
 , django-paintstore, djangorestframework, django, django-q
 , django_compressor, beautifulsoup4, six, psycopg2, whoosh, elasticsearch
 }:
@@ -9,18 +9,24 @@ buildPythonPackage rec {
   pname = "HyperKitty";
   # Note: Mailman core must be on the latest version before upgrading HyperKitty.
   # See: https://gitlab.com/mailman/postorius/-/issues/516#note_544571309
-  version = "1.3.4";
+  #
+  # Update to next stable version > 1.3.4 that has fixed tests, see
+  # https://gitlab.com/mailman/django-mailman3/-/issues/48
+  version = "unstable-2021-10-08";
   disabled = !isPy3k;
 
-  src = fetchPypi {
-    inherit pname version;
-    sha256 = "1lbh8n66fp3l5s0xvmvsbfvgs3z4knx0gwf0q117n2nfkslf13zp";
+  src = fetchFromGitLab {
+    domain = "gitlab.com";
+    owner = "mailman";
+    repo = "hyperkitty";
+    rev = "ec9c8ed18798cf8f7e89dfaba0014dcdfa207f27";
+    sha256 = "12kxb6pra31f51yxzx010jk2wlacdsbyf6fbl1cczjgxgb4cpy4i";
   };
 
   nativeBuildInputs = [ isort ];
   propagatedBuildInputs = [
     robot-detection django_extensions rjsmin cssmin django-mailman3
-    django-haystack flufl_lock networkx python-dateutil defusedxml
+    django-haystack flufl_lock mistune_2_0 networkx python-dateutil defusedxml
     django-paintstore djangorestframework django django-q
     django_compressor six psycopg2 isort
   ];