mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
pythonPackages.salmon-mail: fix tests (#42753)
This commit is contained in:
parent
1a589cc422
commit
a4765957fd
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@ buildPythonPackage rec {
|
||||||
checkInputs = [ nose jinja2 mock ];
|
checkInputs = [ nose jinja2 mock ];
|
||||||
propagatedBuildInputs = [ chardet dnspython lmtpd pythondaemon six ];
|
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; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://salmon-mail.readthedocs.org/;
|
homepage = http://salmon-mail.readthedocs.org/;
|
||||||
description = "Pythonic mail application server";
|
description = "Pythonic mail application server";
|
||||||
|
|
Loading…
Reference in a new issue