about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorAluísio Augusto Silva Gonçalves <aluisio@aasg.name>2019-09-05 16:04:31 -0300
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-09-06 21:16:52 +0200
commitd8d68e1af16e734a7bddfd491e30549896bde8a1 (patch)
tree75d5c72c79190bc22426d08e008bc1bdf470f1bf /pkgs/applications/office
parente8f20bfc8dd7dbd1f2fbdb828e9cea9372612004 (diff)
downloadnixlib-d8d68e1af16e734a7bddfd491e30549896bde8a1.tar
nixlib-d8d68e1af16e734a7bddfd491e30549896bde8a1.tar.gz
nixlib-d8d68e1af16e734a7bddfd491e30549896bde8a1.tar.bz2
nixlib-d8d68e1af16e734a7bddfd491e30549896bde8a1.tar.lz
nixlib-d8d68e1af16e734a7bddfd491e30549896bde8a1.tar.xz
nixlib-d8d68e1af16e734a7bddfd491e30549896bde8a1.tar.zst
nixlib-d8d68e1af16e734a7bddfd491e30549896bde8a1.zip
fava: 1.10 -> 1.11
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/fava/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/applications/office/fava/default.nix b/pkgs/applications/office/fava/default.nix
index e33a0b202da0..a5de74a6f165 100644
--- a/pkgs/applications/office/fava/default.nix
+++ b/pkgs/applications/office/fava/default.nix
@@ -5,15 +5,14 @@ let
 in
 buildPythonApplication rec {
   pname = "fava";
-  version = "1.10";
+  version = "1.11";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "145995nzgr06qsn619zap0xqa8ckfrp5azga41smyszq97pd01sj";
+    sha256 = "0gyrxqmfr8igfjnp9lcsl4km17yakj556xns3jp4m9l2407b5zhc";
   };
 
-  doCheck = false;
-
+  checkInputs = [ python3.pkgs.pytest ];
   propagatedBuildInputs = with python3.pkgs;
     [ 
       Babel
@@ -28,6 +27,11 @@ buildPythonApplication rec {
       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 = {
     homepage = https://beancount.github.io/fava;
     description = "Web interface for beancount";