fava: 1.10 -> 1.11

This commit is contained in:
Aluísio Augusto Silva Gonçalves 2019-09-05 16:04:31 -03:00 committed by Frederik Rietdijk
parent e8f20bfc8d
commit d8d68e1af1

View File

@ -5,15 +5,14 @@ let
in in
buildPythonApplication rec { buildPythonApplication rec {
pname = "fava"; pname = "fava";
version = "1.10"; version = "1.11";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "145995nzgr06qsn619zap0xqa8ckfrp5azga41smyszq97pd01sj"; sha256 = "0gyrxqmfr8igfjnp9lcsl4km17yakj556xns3jp4m9l2407b5zhc";
}; };
doCheck = false; checkInputs = [ python3.pkgs.pytest ];
propagatedBuildInputs = with python3.pkgs; propagatedBuildInputs = with python3.pkgs;
[ [
Babel Babel
@ -28,6 +27,11 @@ buildPythonApplication rec {
simplejson simplejson
]; ];
# CLI test expects fava on $PATH. Not sure why static_url fails.
checkPhase = ''
py.test tests -k 'not cli and not static_url'
'';
meta = { meta = {
homepage = https://beancount.github.io/fava; homepage = https://beancount.github.io/fava;
description = "Web interface for beancount"; description = "Web interface for beancount";