about summary refs log tree commit diff
path: root/nixpkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2019-12-16 19:20:55 +0100
committerAlyssa Ross <hi@alyssa.is>2020-01-13 00:35:22 +0000
commit11ffba1f8f51d8b7b41c0d34947185689926fcfc (patch)
tree2d6f05d9ac4ff324d2cc31050241abfacd83c48d /nixpkgs
parent70fe19af3a8f83497cd19548a26f3f1012993aa0 (diff)
downloadnixlib-11ffba1f8f51d8b7b41c0d34947185689926fcfc.tar
nixlib-11ffba1f8f51d8b7b41c0d34947185689926fcfc.tar.gz
nixlib-11ffba1f8f51d8b7b41c0d34947185689926fcfc.tar.bz2
nixlib-11ffba1f8f51d8b7b41c0d34947185689926fcfc.tar.lz
nixlib-11ffba1f8f51d8b7b41c0d34947185689926fcfc.tar.xz
nixlib-11ffba1f8f51d8b7b41c0d34947185689926fcfc.tar.zst
nixlib-11ffba1f8f51d8b7b41c0d34947185689926fcfc.zip
mailman-postorius: update from version 1.2.4 to 1.3.1
Diffstat (limited to 'nixpkgs')
-rw-r--r--nixpkgs/pkgs/servers/mail/mailman/postorius.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/servers/mail/mailman/postorius.nix b/nixpkgs/pkgs/servers/mail/mailman/postorius.nix
index 3f6945331380..87ccefd1f907 100644
--- a/nixpkgs/pkgs/servers/mail/mailman/postorius.nix
+++ b/nixpkgs/pkgs/servers/mail/mailman/postorius.nix
@@ -1,20 +1,26 @@
 { stdenv, buildPythonPackage, fetchPypi, beautifulsoup4, vcrpy, mock
-, django-mailman3, readme_renderer
+, django-mailman3, mailmanclient, readme_renderer
 }:
 
 buildPythonPackage rec {
   pname = "postorius";
-  version = "1.3.0";
+  version = "1.3.1";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "12aghg862js5sxm61xy7ijjb5ixdlv86vhp3nr8l94yiiq92k8sl";
+    sha256 = "027k70p1a4glskymbw4vw3fj460a9ipgcnns7xidp604s1fwz7lx";
   };
 
   buildInputs = [ beautifulsoup4 vcrpy mock ];
   propagatedBuildInputs = [ django-mailman3 readme_renderer ];
 
-  doCheck = false; # Tries to connect to database over port.
+  # The test suite is broken. :-( There are tons of failed attempts to connect
+  # to some local service. I'm not sure what is going on. Needs debugging.
+  doCheck = false;
+  checkPhase = ''
+    cd $NIX_BUILD_TOP/$sourceRoot
+    PYTHONPATH=.:$PYTHONPATH python example_project/manage.py test --settings=test_settings postorius
+  '';
 
   meta = {
     homepage = https://www.gnu.org/software/mailman/;