mailman: add postorius testing

This commit is contained in:
Robin Gloster 2019-08-26 22:51:53 +02:00
parent 4b1cc7eebf
commit 6bff4c107e
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -14,7 +14,10 @@ buildPythonPackage rec {
buildInputs = [ beautifulsoup4 vcrpy mock ];
propagatedBuildInputs = [ django-mailman3 ];
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/;