pythonPackages.salmon-mail: fix tests (#42753)

This commit is contained in:
Jaakko Luttinen 2018-06-29 14:20:38 +03:00 committed by Robert Schütz
parent 1a589cc422
commit a4765957fd

View file

@ -14,6 +14,12 @@ buildPythonPackage rec {
checkInputs = [ nose jinja2 mock ];
propagatedBuildInputs = [ chardet dnspython lmtpd pythondaemon six ];
# The tests use salmon executable installed by salmon itself so we need to add
# that to PATH
checkPhase = ''
PATH=$out/bin:$PATH nosetests .
'';
meta = with stdenv.lib; {
homepage = http://salmon-mail.readthedocs.org/;
description = "Pythonic mail application server";