pythonPackages.salmon-mail: fix tests (#42753)
This commit is contained in:
parent
1a589cc422
commit
a4765957fd
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user