mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
eba83c8947
As discussed in #118355
50 lines
1018 B
Nix
50 lines
1018 B
Nix
{ lib, python3 }:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "fava";
|
|
version = "1.18";
|
|
|
|
src = python3.pkgs.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5";
|
|
};
|
|
|
|
nativeBuildInputs = with python3.pkgs; [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
Babel
|
|
beancount
|
|
cheroot
|
|
click
|
|
flask
|
|
flaskbabel
|
|
jaraco_functools
|
|
jinja2
|
|
markdown2
|
|
ply
|
|
simplejson
|
|
werkzeug
|
|
];
|
|
|
|
checkInputs = with python3.pkgs; [
|
|
pytestCheckHook
|
|
];
|
|
|
|
preCheck = ''
|
|
export HOME=$TEMPDIR
|
|
'';
|
|
|
|
disabledTests = [
|
|
# runs fava in debug mode, which tries to interpret bash wrapper as Python
|
|
"test_cli"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Web interface for beancount";
|
|
homepage = "https://beancount.github.io/fava";
|
|
changelog = "https://beancount.github.io/fava/changelog.html";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ bhipple ];
|
|
};
|
|
}
|