python3.pkgs.mailman*: check isPy3k inside package

This commit is contained in:
Alyssa Ross
2020-01-20 14:36:56 +00:00
parent 3e26640352
commit 126ff4d97e
5 changed files with 12 additions and 8 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, python, hyperkitty, postorius, buildPythonPackage
{ stdenv, python, hyperkitty, postorius, buildPythonPackage, isPy3k
, serverEMail ? "postmaster@example.org"
, archiverKey ? "SecretArchiverAPIKey"
, allowedHosts ? []
@@ -17,6 +17,7 @@ in
buildPythonPackage {
name = "mailman-web-0";
disabled = !isPy3k;
propagatedBuildInputs = [ hyperkitty postorius ];