Skip to content

Commit b236f1f

Browse files
committed
fava: 1.29 -> 1.30.1
1 parent b6b0b09 commit b236f1f

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

pkgs/by-name/fa/fava/package.nix

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
python3Packages.buildPythonApplication rec {
88
pname = "fava";
9-
version = "1.29";
9+
version = "1.30.1";
1010
pyproject = true;
1111

1212
src = fetchPypi {
1313
inherit pname version;
14-
hash = "sha256-UZZ142FchYXqPtHb6EWnKjV+xtJ0Gvu+SovTH6+kVn8=";
14+
hash = "sha256-69Wx9/H7nLDPZP9LOUnDJngY9YTCcr+oQ0E6+xeIWPE=";
1515
};
1616

1717
postPatch = ''
@@ -24,11 +24,12 @@ python3Packages.buildPythonApplication rec {
2424
dependencies = with python3Packages; [
2525
babel
2626
beancount
27+
beangulp
28+
beanquery
2729
cheroot
2830
click
2931
flask
3032
flask-babel
31-
jaraco-functools
3233
jinja2
3334
markdown2
3435
ply
@@ -39,17 +40,22 @@ python3Packages.buildPythonApplication rec {
3940

4041
nativeCheckInputs = [ python3Packages.pytestCheckHook ];
4142

43+
env = {
44+
# Disable some tests when building with beancount2
45+
SNAPSHOT_IGNORE = lib.versions.major python3Packages.beancount.version == "2";
46+
};
47+
4248
preCheck = ''
4349
export HOME=$TEMPDIR
4450
'';
4551

46-
meta = with lib; {
52+
meta = {
4753
description = "Web interface for beancount";
4854
mainProgram = "fava";
4955
homepage = "https://beancount.github.io/fava";
5056
changelog = "https://beancount.github.io/fava/changelog.html";
51-
license = licenses.mit;
52-
maintainers = with maintainers; [
57+
license = lib.licenses.mit;
58+
maintainers = with lib.maintainers; [
5359
bhipple
5460
sigmanificient
5561
];

0 commit comments

Comments
 (0)