nixpkgs/pkgs/applications/office/fava/default.nix

38 lines
729 B
Nix
Raw Normal View History

2017-11-03 22:49:58 +00:00
{ stdenv, python3, beancount }:
2016-05-28 16:34:43 +00:00
2017-11-03 22:49:58 +00:00
let
inherit (python3.pkgs) buildPythonApplication fetchPypi;
in
buildPythonApplication rec {
pname = "fava";
version = "1.10";
2016-05-28 16:34:43 +00:00
2017-11-03 22:49:58 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "145995nzgr06qsn619zap0xqa8ckfrp5azga41smyszq97pd01sj";
2016-05-28 16:34:43 +00:00
};
2017-11-03 22:49:58 +00:00
doCheck = false;
2016-05-28 16:34:43 +00:00
2017-11-03 22:49:58 +00:00
propagatedBuildInputs = with python3.pkgs;
2019-01-14 12:16:24 +00:00
[
Babel
cheroot
flaskbabel
flask
jinja2
beancount
click
markdown2
ply
simplejson
];
2016-05-28 16:34:43 +00:00
meta = {
2017-11-03 22:49:58 +00:00
homepage = https://beancount.github.io/fava;
2016-05-28 16:34:43 +00:00
description = "Web interface for beancount";
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
2016-05-28 16:34:43 +00:00
};
}